mirror of
https://github.com/glfw/glfw.git
synced 2025-10-03 21:30:57 +00:00
* Fix crash from test/sharing.
This commit is contained in:
parent
5b271fd795
commit
0e86d3824b
@ -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…
Reference in New Issue
Block a user