1991-2006 Silicon Graphics, Inc.
glXGetCurrentDrawable 3G
glXGetCurrentDrawable return the current drawable

## C Specification

GLXDrawable `glXGetCurrentDrawable`

## 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, glXGetCurrentContext, glXGetCurrentDisplay, glXGetCurrentReadDrawable, glXMakeCurrent

## 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/.