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