mirror of
https://github.com/glfw/glfw.git
synced 2025-10-04 21:56:36 +00:00
* Could be a crash here, best to just check
This commit is contained in:
parent
0e86d3824b
commit
61c0818762
@ -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