File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
examples_tests/01.HelloWorld Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -103,11 +103,14 @@ class DemoEventCallback : public ui::IWindow::IEventCallback
103103
104104static core::smart_refctd_ptr<system::ISystem> createSystem ()
105105{
106- core::smart_refctd_ptr<system::ISystemCaller> caller = nullptr ;
106+ nbl:: core::smart_refctd_ptr<system::ISystemCaller> caller = nullptr ;
107107#ifdef _NBL_PLATFORM_WINDOWS_
108- caller = core::make_smart_refctd_ptr<nbl::system::CSystemCallerWin32>();
108+ caller = nbl:: core::make_smart_refctd_ptr<nbl::system::CSystemCallerWin32>();
109109#endif
110- return make_smart_refctd_ptr<system::ISystem>(std::move (caller));
110+ #ifdef _NBL_PLATFORM_WINDOWS_
111+ return nbl::core::make_smart_refctd_ptr<nbl::system::CSystemWin32>(std::move (caller));
112+ #endif
113+ return nullptr ;
111114}
112115
113116class HelloWorldSampleApp : public system ::IApplicationFramework, public ui::IGraphicalApplicationFramework
You can’t perform that action at this time.
0 commit comments