diff options
Diffstat (limited to 'src/platform/bootstrap/Bootstrap.cpp')
-rw-r--r-- | src/platform/bootstrap/Bootstrap.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/platform/bootstrap/Bootstrap.cpp b/src/platform/bootstrap/Bootstrap.cpp index cdbd14f1..a32cbb65 100644 --- a/src/platform/bootstrap/Bootstrap.cpp +++ b/src/platform/bootstrap/Bootstrap.cpp @@ -14,6 +14,8 @@ cru::platform::gui::IUiApplication* CreateUiApplication() { return new cru::platform::gui::win::WinUiApplication(); #elif CRU_PLATFORM_OSX return new cru::platform::gui::osx::OsxUiApplication(); +#else + return nullptr; #endif } @@ -23,6 +25,8 @@ CreateGraphicsFactory() { return new cru::platform::graphics::win::direct::DirectGraphicsFactory(); #elif CRU_PLATFORM_OSX return new cru::platform::graphics::osx::quartz::QuartzGraphicsFactory(); +#else + return nullptr; #endif } |