1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-10-08 15:17:25 -04:00

Restored dropped guards for RandR-specific function.

This commit is contained in:
Camilla Berglund 2011-10-06 23:53:11 +02:00
parent 9738728298
commit 1036d8e808

View File

@ -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)
{