glXGetCurrentDrawable.3G - Man Page

return the current drawable

C Specification

GLXDrawable glXGetCurrentDrawable( void )

Description

glXGetCurrentDrawable returns the current drawable, as specified by glXMakeCurrent. If there is no current drawable, None is returned.

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

See Also

glXCreateGLXPixmap, glXMakeCurrent

Referenced By

waffle_make_current(3).