2 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
3 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
8 This manual page is licensed under the Creative Commons Attribution-ShareAlike 3.0 United States License (CC BY-SA 3.0
9 US). To view a copy of this license, visit http://creativecommons.org.license/by-sa/3.0/us.
13 id="waffle_is_extension_in_string"
14 xmlns:xi="http://www.w3.org/2001/XInclude">
16 <!-- See http://www.docbook.org/tdg/en/html/refentry.html. -->
19 <refentrytitle>waffle_is_extension_in_string</refentrytitle>
20 <manvolnum>3</manvolnum>
24 <refname>waffle_is_extension_in_string</refname>
25 <refpurpose>Check if a name appears in an OpenGL-style extension string</refpurpose>
29 <title>Waffle Manual</title>
30 <productname>waffle</productname>
31 <xi:include href="common/author-chad.versace.xml"/>
32 <xi:include href="common/copyright.xml"/>
33 <xi:include href="common/legalnotice.xml"/>
38 <funcsynopsis language="C">
41 #include <waffle.h>
45 <funcdef>bool <function>waffle_is_extension_in_string</function></funcdef>
46 <paramdef>const char * <parameter>extension_string</parameter></paramdef>
47 <paramdef>const char * <parameter>extension_name</parameter></paramdef>
54 <title>Description</title>
59 <term><function>waffle_is_extension_in_string()</function></term>
62 Check if an extension name appears in an OpenGL-style extension string.
66 The <parameter>extension_string</parameter> must be
68 in the format returned by <code>glGetString(GL_EXTENSIONS)</code>.
70 Note that this function is not restricted to the OpenGL extension string;
72 it can also be used on the WGL, GLX and EGL extension strings.
76 This function can be called before waffle has been successfully initialized with
78 <citerefentry><refentrytitle><function>waffle_init</function></refentrytitle><manvolnum>3</manvolnum></citerefentry>.
90 This function sets the error code to <constant>WAFFLE_NO_ERROR</constant>.
94 <xi:include href="common/issues.xml"/>
97 <title>See Also</title>
99 <citerefentry><refentrytitle>waffle</refentrytitle><manvolnum>7</manvolnum></citerefentry>
106 vim:tw=120 et ts=2 sw=2: