glXGetCurrentDisplayEXT(3G) OpenGL Reference - GLX
glXGetCurrentDisplayEXT - returns the display for the current context
Display * glXGetCurrentDisplayEXT( void )
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.
glXGetCurrentDisplayEXT is part of the EXT_import_context extension.
glXCreateContext,XOpenDisplay
PPPPaaaaggggeeee 1111 [ Back ]
|