GLXGETCURRENTDISPLAYEXT()
NAME
glXGetCurrentDisplayEXT − get display for current context
C SPECIFICATION
Display ∗ glXGetCurrentDisplayEXT( void )
DESCRIPTION
glXGetCurrentDisplayEXT returns the display for the current context. If no context is current, NULL is returned. Unlike most X calls that return a value, glXGetCurrentDisplayEXT does not flush any pending events.
glXGetCurrentDisplayEXT is part of the EXT_import_context extension, not part of the core GLX command set. If GLX_EXT_import_context is included in the string returned by glXQueryExtensionsString, when called with argument GLX_EXTENSIONS, extension EXT_import_context is supported.
SEE ALSO
glXQueryVersion, glXQueryExtensionsString