diff --git a/src/gx/glsdl/GLSDLWindow.cpp b/src/gx/glsdl/GLSDLWindow.cpp index 9438890..8ce21b3 100644 --- a/src/gx/glsdl/GLSDLWindow.cpp +++ b/src/gx/glsdl/GLSDLWindow.cpp @@ -3,6 +3,7 @@ #include "event/Input.hpp" #include "event/Event.hpp" #include "gx/Window.hpp" +#include "gx/Device.hpp" #include #include @@ -372,6 +373,8 @@ void GLSDLWindow::DispatchSDLWindowResizedEvent(const SDL_Event& event) { auto width = static_cast(event.window.data1); auto height = static_cast(event.window.data2); + static_cast(g_theGxDevicePtr)->Resize(width, height); + OsQueuePut(OS_INPUT_SIZE, width, height, 0, 0); auto bounds = GetSavedWindowBounds();