diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-11-13 14:43:20 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-11-14 23:46:14 +0000 |
commit | 5b854f135a4bf38ce993cc567461bf204894fb44 (patch) | |
tree | 23c3a2d7e215923d8fef821ebb9b47438681b8cf /ui/gameMainWindow.cpp | |
parent | Pass flags to Window constructor (diff) | |
download | ilt-5b854f135a4bf38ce993cc567461bf204894fb44.tar.bz2 ilt-5b854f135a4bf38ce993cc567461bf204894fb44.tar.xz ilt-5b854f135a4bf38ce993cc567461bf204894fb44.zip |
Pass the output framebuffer id to scene renderer
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 b6e0075..dfb51e9 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", SDL_WINDOW_OPENGL}, 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, 0}, camera {{-1250.0F, -1250.0F, 35.0F}, quarter_pi, rdiv(w, h), 0.1F, 10000.0F} { uiComponents.create<ManualCameraController>(glm::vec2 {-1150, -1150}); |