mirror of
https://github.com/glfw/glfw.git
synced 2024-11-13 14:03:52 +00:00
Could be a crash here, best to just check.
This commit is contained in:
parent
c03f273941
commit
8d5043f409
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user