Scroll to navigation

GLXGETCURRENTDISPLAY(3G) OpenGL Manual GLXGETCURRENTDISPLAY(3G)

NAME

glXGetCurrentDisplay - get display for current context

C SPECIFICATION

Display * glXGetCurrentDisplay(

DESCRIPTION

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.

NOTES

glXGetCurrentDisplay is only supported if the GLX version is 1.2 or greater.

SEE ALSO

glXGetCurrentContext(), glXGetCurrentDrawable(), glXQueryVersion(), glXQueryExtensionsString()

COPYRIGHT

Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/.

AUTHORS

opengl.org

05/02/2014 opengl.org