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=
"glXGetCurrentDrawable">
9 <holder>Silicon Graphics, Inc.
</holder>
12 <refentrytitle>glXGetCurrentDrawable
</refentrytitle>
13 <manvolnum>3G
</manvolnum>
16 <refname>glXGetCurrentDrawable
</refname>
17 <refpurpose>return the current drawable
</refpurpose>
19 <refsynopsisdiv><title>C Specification
</title>
22 <funcdef>GLXDrawable
<function>glXGetCurrentDrawable
</function></funcdef>
26 <refsect1 id=
"description"><title>Description
</title>
28 <function>glXGetCurrentDrawable
</function> returns the current drawable,
29 as specified by
<citerefentry><refentrytitle>glXMakeCurrent
</refentrytitle></citerefentry>.
30 If there is no current drawable,
31 <constant>None
</constant> is returned.
34 <function>glXGetCurrentDrawable
</function> returns client-side information.
35 It does not make a round trip to the server.
38 <refsect1 id=
"seealso"><title>See Also
</title>
40 <citerefentry><refentrytitle>glXCreateGLXPixmap
</refentrytitle></citerefentry>,
41 <citerefentry><refentrytitle>glXGetCurrentContext
</refentrytitle></citerefentry>,
42 <citerefentry><refentrytitle>glXGetCurrentDisplay
</refentrytitle></citerefentry>,
43 <citerefentry><refentrytitle>glXGetCurrentReadDrawable
</refentrytitle></citerefentry>,
44 <citerefentry><refentrytitle>glXMakeCurrent
</refentrytitle></citerefentry>
47 <refsect1 id=
"Copyright"><title>Copyright
</title>
49 Copyright
<trademark class=
"copyright"></trademark> 1991-
2006
50 Silicon Graphics, Inc. This document is licensed under the SGI
51 Free Software B License. For details, see
52 <ulink url=
"http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/
</ulink>.