diff --git a/src/mir_window.c b/src/mir_window.c index 5c11ee4a..39215174 100644 --- a/src/mir_window.c +++ b/src/mir_window.c @@ -489,7 +489,9 @@ void _glfwPlatformPostEmptyEvent(void) void _glfwPlatformGetFramebufferSize(_GLFWwindow* window, int* width, int* height) { + if (width) *width = window->mir.width; + if (height) *height = window->mir.height; }