1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-30 05:58:52 -05:00

Fix crash from test/sharing.

This commit is contained in:
BrandonSchaefer 2014-11-06 12:20:57 -08:00 committed by Camilla Berglund
parent 4674ed367d
commit c03f273941

View File

@ -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;
}