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
103
103
104
104
static core::smart_refctd_ptr<system::ISystem> createSystem ()
105
105
{
106
- core::smart_refctd_ptr<system::ISystemCaller> caller = nullptr ;
106
+ nbl:: core::smart_refctd_ptr<system::ISystemCaller> caller = nullptr ;
107
107
#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>();
109
109
#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 ;
111
114
}
112
115
113
116
class HelloWorldSampleApp : public system ::IApplicationFramework, public ui::IGraphicalApplicationFramework
You can’t perform that action at this time.
0 commit comments