Restored dropped guards for RandR-specific function.

master
Camilla Berglund ago%!(EXTRA string=14 years)
parent 9738728298
commit 1036d8e808
  1. 2
      src/x11_monitor.c

@ -38,6 +38,7 @@
////// GLFW platform API //////
//////////////////////////////////////////////////////////////////////////
#if defined (_GLFW_HAS_XRANDR)
_GLFWmonitor** _glfwCreateMonitor(_GLFWmonitor** current,
XRROutputInfo* outputInfo,
XRRCrtcInfo* crtcInfo)
@ -58,6 +59,7 @@ _GLFWmonitor** _glfwCreateMonitor(_GLFWmonitor** current,
(*current)->X11.output = outputInfo;
return &((*current)->next);
}
#endif /*_GLFW_HAS_XRANDR*/
_GLFWmonitor* _glfwDestroyMonitor(_GLFWmonitor* monitor)
{

Loading…
Cancel
Save