glXGetCurrentDisplay.3G man page

glXGetCurrentDisplay — get display for current context

C Specification

Display * glXGetCurrentDisplay(

Description

glXGetCurrentDisplay returns the display for the current context. If no context is current, NULL is returned.

glXGetCurrentDisplay returns client-side information. It does not make a round-trip to the server, and therefore does not flush any pending events.

Notes

glXGetCurrentDisplay is only supported if the GLX version is 1.2 or greater.

See Also

glXGetCurrentContext(), glXGetCurrentDrawable(), glXQueryVersion(), glXQueryExtensionsString()

Authors

opengl.org

Info

02/04/2016 opengl.org OpenGL Manual