mirror of
https://github.com/glfw/glfw.git
synced 2025-04-07 22:43:06 +00:00
Fixed use of wrong variable.
This commit is contained in:
parent
296b0a39a0
commit
8c069f3753
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ _GLFWmonitor** _glfwPlatformGetMonitors(int* found)
|
|||
sr = XRRGetScreenResources(_glfw.x11.display, _glfw.x11.root);
|
||||
primary = XRRGetOutputPrimary(_glfw.x11.display, _glfw.x11.root);
|
||||
|
||||
monitors = (_GLFWmonitor**) calloc(sr->noutput, sizeof(_GLFWmonitor*));
|
||||
monitors = (_GLFWmonitor**) calloc(sr->ncrtc, sizeof(_GLFWmonitor*));
|
||||
|
||||
for (i = 0; i < sr->ncrtc; i++)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue