diff options
-rw-r--r-- | engine/config.h | 2 | ||||
-rw-r--r-- | engine/engine.cpp | 2 | ||||
m--------- | wriggle | 0 |
3 files changed, 3 insertions, 1 deletions
diff --git a/engine/config.h b/engine/config.h index 1cf4713..07cd2b9 100644 --- a/engine/config.h +++ b/engine/config.h @@ -5,6 +5,8 @@ namespace Config { const unsigned int window_w = 1440; const unsigned int window_h = 1080; + const bool fullscreen = true; + const float viewport_x = 15.0 / 1080.0; const float viewport_y = 15.0 / 1080.0; const float viewport_w = 900.0 / 1080.0; diff --git a/engine/engine.cpp b/engine/engine.cpp index e67ead3..6d4a019 100644 --- a/engine/engine.cpp +++ b/engine/engine.cpp @@ -23,7 +23,7 @@ void Engine::event_keypress(SDLKey key) { } Engine::Engine() { - init_window(Config::window_w, Config::window_h); + init_window(Config::window_w, Config::window_h, Config::fullscreen); // Texturing glEnable(GL_TEXTURE_2D); diff --git a/wriggle b/wriggle -Subproject f8d8934e33ebdb165655297d7eb427fccc19cea +Subproject d74b4f20e722ecd732e70e76985c7c936d0f82a |