glXGetCurrentDisplay(3x)

glXGetCurrentDisplay3x

Get display for current context

C specification

Display * glXGetCurrentDisplay( void )


    

    
        

delim $$

Overview

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

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

Notes

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

Releases

Unchanged in 2 releases since Debian 3.0 (Woody).

  1. 3.0–3.1

From xlibmesa-gl-dev 4.3.0.dfsg.1-14sarge7 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.