glXGetCurrentContext.3G man page

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()

Authors

opengl.org

Info

02/04/2016 opengl.org OpenGL Manual