[ Previous | Next | Contents | Glossary | Home | Search ]
OpenGL 1.1 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.

Related Information

The glXCreateContext subroutine, glXMakeCurrent subroutine.

OpenGL in the AIXwindows (GLX) Environment.

OpenGL Overview.


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