GNU/Linux |
CentOS 5.6 |
|
![]() |
glXGetCurrentDisplay(3gl) |
![]() |
glXGetCurrentDisplay − get display for current context
Display * glXGetCurrentDisplay( void )
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.
glXGetCurrentDisplay is only supported if the GLX version is 1.2 or greater.
glXQueryVersion, glXQueryExtensionsString
![]() |
glXGetCurrentDisplay(3gl) | ![]() |