[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
OpenGL 1.2 for AIX: Reference Manual

glXGetCurrentContext Subroutine

Purpose

Returns the current context.

Library

OpenGL C bindings library: libGL.a

C Syntax

GLXContext glXGetCurrentContext( void )

Description

The glXGetCurrentContext subroutine returns the current context, as specified by the glXMakeCurrent subroutine. If there is no current context, Null is returned.

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

Return Values

Null Returned if there is no current context.

Files

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

Related Information

The glXCreateContext subroutine, glXMakeCurrent subroutine.

OpenGL in the AIXwindows (GLX) Environment.

OpenGL Overview.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]