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=
"glXGetCurrentContext">
9 <holder>Silicon Graphics, Inc.
</holder>
12 <refentrytitle>glXGetCurrentContext
</refentrytitle>
13 <manvolnum>3G
</manvolnum>
16 <refname>glXGetCurrentContext
</refname>
17 <refpurpose>return the current context
</refpurpose>
19 <refsynopsisdiv><title>C Specification
</title>
22 <funcdef>GLXContext
<function>glXGetCurrentContext
</function></funcdef>
28 <refsect1 id=
"description"><title>Description
</title>
30 <function>glXGetCurrentContext
</function> returns the current context,
31 as specified by
<citerefentry><refentrytitle>glXMakeCurrent
</refentrytitle></citerefentry>.
32 If there is no current context,
33 <constant>NULL
</constant> is returned.
36 <function>glXGetCurrentContext
</function> returns client-side information.
37 It does not make a round trip to the server.
42 <refsect1 id=
"seealso"><title>See Also
</title>
44 <citerefentry><refentrytitle>glXCreateContext
</refentrytitle></citerefentry>,
45 <citerefentry><refentrytitle>glXGetCurrentDisplay
</refentrytitle></citerefentry>,
46 <citerefentry><refentrytitle>glXGetCurrentDrawable
</refentrytitle></citerefentry>,
47 <citerefentry><refentrytitle>glXMakeCurrent
</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>.