mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 13:04:35 +00:00
parent
d82e7b5cb1
commit
4f14c1e776
@ -354,11 +354,11 @@ void _glfwPlatformGetMonitorWorkarea(_GLFWmonitor* monitor, int* xpos, int* ypos
|
|||||||
|
|
||||||
if (xpos)
|
if (xpos)
|
||||||
*xpos = extents[0];
|
*xpos = extents[0];
|
||||||
if (xpos)
|
if (ypos)
|
||||||
*ypos = extents[1];
|
*ypos = extents[1];
|
||||||
if (xpos)
|
if (width)
|
||||||
*width = extents[2];
|
*width = extents[2];
|
||||||
if (xpos)
|
if (height)
|
||||||
*height = extents[3];
|
*height = extents[3];
|
||||||
|
|
||||||
XFree(extents);
|
XFree(extents);
|
||||||
|
Loading…
Reference in New Issue
Block a user