---
name: "glXGetCurrentDrawable"
section: "3x"
platform: "linux"
package: "xlibmesa-gl-dev"
version: "4.3.0.dfsg.1-14sarge7"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/glXGetCurrentDrawable"
---

# glXGetCurrentDrawable(3x)

return the current drawable

## NAME

glXGetCurrentDrawable - 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**
