mirror of
https://github.com/glfw/glfw.git
synced 2025-04-05 21:45:08 +00:00
parent
d82e7b5cb1
commit
4f14c1e776
1 changed files with 3 additions and 3 deletions
|
@ -354,11 +354,11 @@ void _glfwPlatformGetMonitorWorkarea(_GLFWmonitor* monitor, int* xpos, int* ypos
|
|||
|
||||
if (xpos)
|
||||
*xpos = extents[0];
|
||||
if (xpos)
|
||||
if (ypos)
|
||||
*ypos = extents[1];
|
||||
if (xpos)
|
||||
if (width)
|
||||
*width = extents[2];
|
||||
if (xpos)
|
||||
if (height)
|
||||
*height = extents[3];
|
||||
|
||||
XFree(extents);
|
||||
|
|
Loading…
Add table
Reference in a new issue