1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <!DOCTYPE book PUBLIC
"-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
3 "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
4 <refentry id=
"glXGetCurrentDisplay">
9 <holder>Silicon Graphics, Inc.
</holder>
12 <refentrytitle>glXGetCurrentDisplay
</refentrytitle>
13 <manvolnum>3G
</manvolnum>
16 <refname>glXGetCurrentDisplay
</refname>
17 <refpurpose>get display for current context
</refpurpose>
19 <refsynopsisdiv><title>C Specification
</title>
22 <funcdef>Display *
<function>glXGetCurrentDisplay
</function></funcdef>
26 <!-- eqn: ignoring delim $$ -->
27 <refsect1 id=
"description"><title>Description
</title>
29 <function>glXGetCurrentDisplay
</function> returns the display for the current context. If no
30 context is current,
<constant>NULL
</constant> is returned.
33 <function>glXGetCurrentDisplay
</function> returns client-side information. It does not make a round-trip
34 to the server, and therefore does not flush any pending events.
37 <refsect1 id=
"notes"><title>Notes
</title>
39 <function>glXGetCurrentDisplay
</function> is only supported if the GLX version is
1.2 or greater.
42 <refsect1 id=
"seealso"><title>See Also
</title>
44 <citerefentry><refentrytitle>glXGetCurrentContext
</refentrytitle></citerefentry>,
45 <citerefentry><refentrytitle>glXGetCurrentDrawable
</refentrytitle></citerefentry>,
46 <citerefentry><refentrytitle>glXQueryVersion
</refentrytitle></citerefentry>,
47 <citerefentry><refentrytitle>glXQueryExtensionsString
</refentrytitle></citerefentry>
50 <refsect1 id=
"Copyright"><title>Copyright
</title>
52 Copyright
<trademark class=
"copyright"></trademark> 1991-
2006
53 Silicon Graphics, Inc. This document is licensed under the SGI
54 Free Software B License. For details, see
55 <ulink url=
"http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/
</ulink>.