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

Could be a crash here, best to just check.

This commit is contained in:
BrandonSchaefer 2014-11-06 12:48:06 -08:00 committed by Camilla Berglund
parent c03f273941
commit 8d5043f409

View File

@ -489,7 +489,9 @@ void _glfwPlatformPostEmptyEvent(void)
void _glfwPlatformGetFramebufferSize(_GLFWwindow* window, int* width, int* height) void _glfwPlatformGetFramebufferSize(_GLFWwindow* window, int* width, int* height)
{ {
if (width)
*width = window->mir.width; *width = window->mir.width;
if (height)
*height = window->mir.height; *height = window->mir.height;
} }