Name

glXGetCurrentReadDrawable — return the current drawable

C Specification

GLXDrawable glXGetCurrentReadDrawable(
 

Description

glXGetCurrentReadDrawable returns the current read drawable, as specified by read parameter of glXMakeContextCurrent. If there is no current drawable, None is returned.

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

Notes

glXGetCurrentReadDrawable is only supported if the GLX version is 1.3 or greater.

See Also

glXGetCurrentContext, glXGetCurrentDisplay, glXGetCurrentDrawable, glXMakeContextCurrent

Copyright

Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/.