Fixed harmless argument reversal.

master
Camilla Berglund ago%!(EXTRA string=10 years)
parent dc9d287e33
commit b415b9aacf
  1. 2
      src/x11_monitor.c

@ -214,7 +214,7 @@ _GLFWmonitor** _glfwPlatformGetMonitors(int* count)
RROutput primary = XRRGetOutputPrimary(_glfw.x11.display,
_glfw.x11.root);
monitors = calloc(sizeof(_GLFWmonitor*), sr->noutput);
monitors = calloc(sr->noutput, sizeof(_GLFWmonitor*));
if (_glfw.x11.xinerama.available)
screens = XineramaQueryScreens(_glfw.x11.display, &screenCount);

Loading…
Cancel
Save