diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-11-13 14:25:24 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-11-14 23:46:14 +0000 |
commit | ee88fe8a5bbdd95c6fcaf4f972239aa418e05b0a (patch) | |
tree | 66f7885cb64ec4f36a13e1bf6fd95a3d59ff9f92 /ui/gameMainWindow.cpp | |
parent | Remove useless GeoData default constructor (diff) | |
download | ilt-ee88fe8a5bbdd95c6fcaf4f972239aa418e05b0a.tar.bz2 ilt-ee88fe8a5bbdd95c6fcaf4f972239aa418e05b0a.tar.xz ilt-ee88fe8a5bbdd95c6fcaf4f972239aa418e05b0a.zip |
Pass flags to Window constructor
Diffstat (limited to 'ui/gameMainWindow.cpp')
-rw-r--r-- | ui/gameMainWindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gameMainWindow.cpp b/ui/gameMainWindow.cpp index 1d90417..b6e0075 100644 --- a/ui/gameMainWindow.cpp +++ b/ui/gameMainWindow.cpp @@ -30,7 +30,7 @@ public: }; GameMainWindow::GameMainWindow(size_t w, size_t h) : - Window {w, h, "I Like Trains"}, SceneRenderer {size}, camera {{-1250.0F, -1250.0F, 35.0F}, quarter_pi, rdiv(w, h), + Window {w, h, "I Like Trains", SDL_WINDOW_OPENGL}, SceneRenderer {size}, camera {{-1250.0F, -1250.0F, 35.0F}, quarter_pi, rdiv(w, h), 0.1F, 10000.0F} { uiComponents.create<ManualCameraController>(glm::vec2 {-1150, -1150}); |