glXGetCurrentDrawable

NAME

glXGetCurrentDrawable -- return the current drawable

C SPECIFICATION

GLXDrawable glXGetCurrentDrawable(void void)

DESCRIPTION

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

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

SEE ALSO

glXCreateGLXPixmap, glXMakeCurrent


back to the OpenGL index page


© 1995 Uwe Behrens All rights reserved