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

glXQueryVersion,
glXQueryExtensionsString
[ Previous | Next | Contents | Glossary | Home | Search ]