GLXGETCURRENTCONTEXMachTen Programmer’s ManGLXGETCURRENTCONTEXT()

NAME
glXGetCurrentContext - return the current context

C SPECIFICATION
GLXContext glXGetCurrentContext( void )

DESCRIPTION
glXGetCurrentContext returns the current context, as spec-
ified 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, glXMakeCurrent

MachTen 1