Added missing X extension test.

master
Camilla Berglund ago%!(EXTRA string=13 years)
parent 9f26500f32
commit 422618d67f
  1. 5
      src/x11_monitor.c

@ -404,9 +404,12 @@ _GLFWmonitor** _glfwPlatformGetMonitors(int* count)
void _glfwPlatformDestroyMonitor(_GLFWmonitor* monitor)
{
if (_glfwLibrary.X11.RandR.available)
{
#if defined (_GLFW_HAS_XRANDR)
XRRFreeOutputInfo(monitor->X11.output);
XRRFreeOutputInfo(monitor->X11.output);
#endif /*_GLFW_HAS_XRANDR*/
}
}

Loading…
Cancel
Save