diff --git a/platform/glfw/glfw_view.cpp b/platform/glfw/glfw_view.cpp index 0d8307395..3c6ea1ded 100644 --- a/platform/glfw/glfw_view.cpp +++ b/platform/glfw/glfw_view.cpp @@ -386,6 +386,7 @@ void GLFWView::onFramebufferResize(GLFWwindow *window, int width, int height) { GLFWView *view = reinterpret_cast(glfwGetWindowUserPointer(window)); view->fbWidth = width; view->fbHeight = height; + view->bind(); // This is only triggered when the framebuffer is resized, but not the window. It can // happen when you move the window between screens with a different pixel ratio.