glxgetcurrentdisplayext
- Man Page
glXGetCurrentDisplayEXT(3G) OpenGL Reference - GLX
NAME
glXGetCurrentDisplayEXT - returns the display for the current context
C SPECIFICATION
Display * glXGetCurrentDisplayEXT( void )
DESCRIPTION
If there is no current context glXGetCurrentDisplayEXT returns NULL;
otherwise, the display for the current context is returned. The display
parameter specifies the X connection for which the context was created.
No round trip is forced to the server. Unlike most X calls that return a
value, glXGetCurrentDisplayEXT does not flush any pending events.
NOTES
glXGetCurrentDisplayEXT is part of the EXT_import_context extension.
SEE ALSO
glXCreateContext,XOpenDisplay
Page 1