rename upstream-man-pages to upstream-doc
[clinton/guile-figl.git] / upstream-doc / man2 / glXGetCurrentDisplay.xml
CommitLineData
7faf1d71
AW
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">
5 <refmeta>
6 <refmetainfo>
7 <copyright>
8 <year>1991-2006</year>
9 <holder>Silicon Graphics, Inc.</holder>
10 </copyright>
11 </refmetainfo>
12 <refentrytitle>glXGetCurrentDisplay</refentrytitle>
13 <manvolnum>3G</manvolnum>
14 </refmeta>
15 <refnamediv>
16 <refname>glXGetCurrentDisplay</refname>
17 <refpurpose>get display for current context</refpurpose>
18 </refnamediv>
19 <refsynopsisdiv><title>C Specification</title>
20 <funcsynopsis>
21 <funcprototype>
22 <funcdef>Display * <function>glXGetCurrentDisplay</function></funcdef>
23 </funcprototype>
24 </funcsynopsis>
25 </refsynopsisdiv>
26 <!-- eqn: ignoring delim $$ -->
27 <refsect1 id="description"><title>Description</title>
28 <para>
29 <function>glXGetCurrentDisplay</function> returns the display for the current context. If no
30 context is current, <constant>NULL</constant> is returned.
31 </para>
32 <para>
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.
35 </para>
36 </refsect1>
37 <refsect1 id="notes"><title>Notes</title>
38 <para>
39 <function>glXGetCurrentDisplay</function> is only supported if the GLX version is 1.2 or greater.
40 </para>
41 </refsect1>
42 <refsect1 id="seealso"><title>See Also</title>
43 <para>
44 <citerefentry><refentrytitle>glXGetCurrentContext</refentrytitle></citerefentry>,
45 <citerefentry><refentrytitle>glXGetCurrentDrawable</refentrytitle></citerefentry>,
46 <citerefentry><refentrytitle>glXQueryVersion</refentrytitle></citerefentry>,
47 <citerefentry><refentrytitle>glXQueryExtensionsString</refentrytitle></citerefentry>
48 </para>
49 </refsect1>
50 <refsect1 id="Copyright"><title>Copyright</title>
51 <para>
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>.
56 </para>
57 </refsect1>
58</refentry>