[ Previous | Next | Contents | Glossary | Home | Search ]
OpenGL 1.1 for AIX: Reference Manual

glXGetCurrentDrawable Subroutine

Purpose

Returns the current drawable.

Library

OpenGL C bindings library: libGL.a

C Syntax

GLXDrawable glXGetCurrentDrawable( void )

Description

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

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

Return Values

None Returned if there is no current drawable.

Files

/usr/include/GL/gl.h Contains C language constants, variable type definitions, and ANSI function prototypes for OpenGL.

Related Information

The glXCreateGLXPixmap subroutine, glXMakeCurrent subroutine.

OpenGL in the AIXwindows (GLX) Environment.

OpenGL Overview.


[ Previous | Next | Contents | Glossary | Home | Search ]