glXGetCurrentDrawable - return the current drawable
GLXDrawable glXGetCurrentDrawable( void )
glXGetCurrentDrawable returns the current drawable, as specified by glXMakeCurrent. If there is no current draw- able, None is returned. glXGetCurrentDrawable returns client-side information. It does not make a round trip to the server.
glXCreateGLXPixmap, glXGetCurrentContext, glXGetCurrentDisplay, glXGetCurrentReadDrawable, glXMakeCurrent 1