diff --git a/game.dll b/game.dll index 4723a17..3b1a618 100644 Binary files a/game.dll and b/game.dll differ diff --git a/src/gl_renderer.cpp b/src/gl_renderer.cpp index 0733a5f..024be92 100644 --- a/src/gl_renderer.cpp +++ b/src/gl_renderer.cpp @@ -630,6 +630,8 @@ internal void renderer_resize() if(glContext.initialized) { glViewport(0, 0, (int)input->screenSize.x, (int)input->screenSize.y); - glUniform2fv(glContext.screenSizeID, 1, (float*)&input->screenSize); + + Vec2 screenSize = vec_2(input->screenSize); + glUniform2fv(glContext.screenSizeID, 1, &screenSize.x); } -} +} \ No newline at end of file