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

glXGetCurrentDisplay Subroutine

Purpose

Gets display for current context

Library

C bindings library: libGL.a

C Syntax

Display *glXGetCurrentDisplay(void)

Description

The glXGetCurrentDisplay subroutine returns the display for the current context. If no context is current, NULL is returned.

The glXGetCurrentDisplay subroutine returns client-side information. It does not make a round trip to the server, and therefore does not flush any pending events.

Notes

The glXGetCurrentDisplay subroutine is only supported if the GLX version is 1.2 or greater.

Related Information

The glXQueryVersion subroutine, glXQueryExtensionsString subroutine.


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