mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-27 10:35:32 +00:00
59 lines
2.4 KiB
XML
59 lines
2.4 KiB
XML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
|
||
|
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
|
||
|
<refentry id="glXGetCurrentContext">
|
||
|
<refmeta>
|
||
|
<refmetainfo>
|
||
|
<copyright>
|
||
|
<year>1991-2006</year>
|
||
|
<holder>Silicon Graphics, Inc.</holder>
|
||
|
</copyright>
|
||
|
</refmetainfo>
|
||
|
<refentrytitle>glXGetCurrentContext</refentrytitle>
|
||
|
<manvolnum>3G</manvolnum>
|
||
|
</refmeta>
|
||
|
<refnamediv>
|
||
|
<refname>glXGetCurrentContext</refname>
|
||
|
<refpurpose>return the current context</refpurpose>
|
||
|
</refnamediv>
|
||
|
<refsynopsisdiv><title>C Specification</title>
|
||
|
<funcsynopsis>
|
||
|
<funcprototype>
|
||
|
<funcdef>GLXContext <function>glXGetCurrentContext</function></funcdef>
|
||
|
</funcprototype>
|
||
|
</funcsynopsis>
|
||
|
</refsynopsisdiv>
|
||
|
<para>
|
||
|
</para>
|
||
|
<refsect1 id="description"><title>Description</title>
|
||
|
<para>
|
||
|
<function>glXGetCurrentContext</function> returns the current context,
|
||
|
as specified by <citerefentry><refentrytitle>glXMakeCurrent</refentrytitle></citerefentry>.
|
||
|
If there is no current context,
|
||
|
<constant>NULL</constant> is returned.
|
||
|
</para>
|
||
|
<para>
|
||
|
<function>glXGetCurrentContext</function> returns client-side information.
|
||
|
It does not make a round trip to the server.
|
||
|
</para>
|
||
|
<para>
|
||
|
</para>
|
||
|
</refsect1>
|
||
|
<refsect1 id="seealso"><title>See Also</title>
|
||
|
<para>
|
||
|
<citerefentry><refentrytitle>glXCreateContext</refentrytitle></citerefentry>,
|
||
|
<citerefentry><refentrytitle>glXGetCurrentDisplay</refentrytitle></citerefentry>,
|
||
|
<citerefentry><refentrytitle>glXGetCurrentDrawable</refentrytitle></citerefentry>,
|
||
|
<citerefentry><refentrytitle>glXMakeCurrent</refentrytitle></citerefentry>
|
||
|
</para>
|
||
|
</refsect1>
|
||
|
<refsect1 id="Copyright"><title>Copyright</title>
|
||
|
<para>
|
||
|
Copyright <trademark class="copyright"></trademark> 1991-2006
|
||
|
Silicon Graphics, Inc. This document is licensed under the SGI
|
||
|
Free Software B License. For details, see
|
||
|
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
|
||
|
</para>
|
||
|
</refsect1>
|
||
|
</refentry>
|