Jelajahi Sumber

Null: Fix window/framebuffer size event order

Camilla Löwy 1 tahun lalu
induk
melakukan
a53ce7e8b8
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/null_window.c

+ 1 - 1
src/null_window.c

@@ -258,8 +258,8 @@ void _glfwSetWindowSizeNull(_GLFWwindow* window, int width, int height)
     {
         window->null.width = width;
         window->null.height = height;
-        _glfwInputWindowSize(window, width, height);
         _glfwInputFramebufferSize(window, width, height);
+        _glfwInputWindowSize(window, width, height);
     }
 }