|
|
glXGetCurrentContext - return the current context
GLXContext glXGetCurrentContext( void )
glXGetCurrentContext returns the current context, as specified by glX- MakeCurrent. If there is no current context, NULL is returned. glXGetCurrentContext returns client-side information. It does not make a round trip to the server.
glXCreateContext, glXMakeCurrent GLXGETCURRENTCONTEXT()