diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2016-11-27 17:13:13 -0500 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2016-11-27 17:13:13 -0500 |
commit | 95f6378e62cc6a7f25305d6f2317ad25d459f9c0 (patch) | |
tree | d29e16eb5b129c1541840c9278880bdc7285c2d8 /src/window.cpp | |
parent | 3437e928e978939aa4c85369ab597e08f00ab93b (diff) |
dialog clicks are back baybee
Diffstat (limited to 'src/window.cpp')
-rw-r--r-- | src/window.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window.cpp b/src/window.cpp index f878ec3..29bd7c7 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -74,10 +74,10 @@ void WindowSystem::receive(const WindowResizeEvent &wre) { game::SCREEN_WIDTH = wre.x; game::SCREEN_HEIGHT = wre.y; - + glViewport(0, 0, wre.x, wre.y); SDL_SetWindowSize(window, wre.x, wre.y); -} +} #include <ui.hpp> |