diff options
Diffstat (limited to 'src/platform_glfw.c')
| -rw-r--r-- | src/platform_glfw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platform_glfw.c b/src/platform_glfw.c index 394695d..33614ff 100644 --- a/src/platform_glfw.c +++ b/src/platform_glfw.c @@ -157,7 +157,6 @@ static void window_resize_callback(GLFWwindow* window, int width, int height) { } static void framebuffer_resize_callback(GLFWwindow* window, int width, int height) { - (void)width; (void)height; Window* w = glfwGetWindowUserPointer(window); if (w != NULL) { const GladGLContext* gl = w->context; @@ -167,6 +166,7 @@ static void framebuffer_resize_callback(GLFWwindow* window, int width, int heigh w->windowsize[0] = width; w->windowsize[1] = height; + window_reset_cameras(w, w->render_targets); //r_reset_camera(c); } DEBUG("FRAMEBUFFER RESIZE <%d,%d>\n", width, height); |
