glXGetCurrentDisplayEXT(3G)
glXGetCurrentDisplayEXT - returns the display for the current context
Showing IRIX 6.5.30 (default release). Unchanged since IRIX 6.5.
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