Scroll to navigation

GLXGETCURRENTCONTEXT(3G) OpenGL Manual GLXGETCURRENTCONTEXT(3G)

NAME

glXGetCurrentContext - return the current context

C SPECIFICATION

GLXContext glXGetCurrentContext(

DESCRIPTION

glXGetCurrentContext returns the current context, as specified by glXMakeCurrent(). If there is no current context, NULL is returned.

glXGetCurrentContext returns client-side information. It does not make a round trip to the server.

SEE ALSO

glXCreateContext(), glXGetCurrentDisplay(), glXGetCurrentDrawable(), glXMakeCurrent()

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

04/12/2021 opengl.org