Fix crash from test/sharing.

master
BrandonSchaefer ago%!(EXTRA string=11 years) committed by Camilla Berglund
parent 4674ed367d
commit c03f273941
  1. 2
      src/mir_window.c

@ -440,7 +440,9 @@ void _glfwPlatformSetWindowSize(_GLFWwindow* window, int width, int height)
void _glfwPlatformGetWindowSize(_GLFWwindow* window, int* width, int* height)
{
if (width)
*width = window->mir.width;
if (height)
*height = window->mir.height;
}

Loading…
Cancel
Save