
<refentry id="glXGetProcAddress">
    <refmeta>
        <refmetainfo>
            <copyright>
                <year>1991-2006</year>
                <holder>Silicon Graphics, Inc.</holder>
            </copyright>
        </refmetainfo>
        <refentrytitle>glXGetProcAddress</refentrytitle>
        <manvolnum>3G</manvolnum>
    </refmeta>
    <refnamediv>
        <refname>glXGetProcAddress</refname>
        <refpurpose>obtain a pointer to an OpenGL or GLX function</refpurpose>
    </refnamediv>
    <refsynopsisdiv><title>C Specification</title>
        <funcsynopsis>
            <funcprototype>
                <funcdef>void(*)() <function>glXGetProcAddress</function></funcdef>
                <paramdef>const GLubyte * <parameter>procName</parameter></paramdef>
            </funcprototype>
        </funcsynopsis>
    </refsynopsisdiv>
    <!-- eqn: ignoring delim $$ -->
    <refsect1 id="parameters"><title>Parameters</title>
        <variablelist>
        <varlistentry>
            <term><parameter>procName</parameter></term>
            <listitem>
                <para>
                    Specifies the name of the OpenGL or GLX function whose address is to be returned.
                </para>
            </listitem>
        </varlistentry>
        </variablelist>
    </refsect1>
    <refsect1 id="description"><title>Description</title>
        <para>
            <function>glXGetProcAddress</function> returns the address of the function specified in <parameter>procName</parameter>.  This is
            necessary in environments where the OpenGL link library exports a different
            set of functions than the runtime library.
        </para>
    </refsect1>
    <refsect1 id="notes"><title>Notes</title>
        <para>
            A <constant>NULL</constant> pointer is returned if function requested is not suported
            in the implementation being queried.
        </para>
        <para>
            GLU functions are not queryable due to the fact that the library may not be
            loaded at the time of the query.
        </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>
