mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-28 17:16:29 +03:00
Make all code branches return valid statement.
This commit is contained in:
committed by
GitHub
parent
7b92745d09
commit
fcbad2e38e
@@ -144,6 +144,8 @@ EE::Window::Window* Engine::createDefaultWindow( const WindowSettings& Settings,
|
||||
const ContextSettings& Context ) {
|
||||
#if DEFAULT_BACKEND == BACKEND_SDL2
|
||||
return createSDL2Window( Settings, Context );
|
||||
#else
|
||||
return NULL;
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -241,6 +243,8 @@ bool Engine::isRunning() const {
|
||||
WindowBackend Engine::getDefaultBackend() const {
|
||||
#if DEFAULT_BACKEND == BACKEND_SDL2
|
||||
return WindowBackend::SDL2;
|
||||
#else
|
||||
return WindowBackend::Default;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user