'\" t .\" Title: waffle_is_extension_in_string .\" Author: Chad Versace .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: 05/03/2021 .\" Manual: Waffle Manual .\" Source: waffle .\" Language: English .\" .TH "WAFFLE_IS_EXTENSION_" "3" "05/03/2021" "waffle" "Waffle Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" waffle_is_extension_in_string \- Check if a name appears in an OpenGL\-style extension string .SH "SYNOPSIS" .sp .ft B .nf #include .fi .ft .HP \w'bool\ waffle_is_extension_in_string('u .BI "bool waffle_is_extension_in_string(const\ char\ *\ " "extension_string" ", const\ char\ *\ " "extension_name" ");" .SH "DESCRIPTION" .PP \fBwaffle_is_extension_in_string()\fR .RS 4 Check if an extension name appears in an OpenGL\-style extension string\&. .sp The \fIextension_string\fR must be in the format returned by glGetString(GL_EXTENSIONS)\&. Note that this function is not restricted to the OpenGL extension string; it can also be used on the WGL, GLX and EGL extension strings\&. .sp This function can be called before waffle has been successfully initialized with \fBwaffle_init\fR(3)\&. .RE .SH "ERRORS" .PP This function sets the error code to \fBWAFFLE_NO_ERROR\fR\&. .SH "ISSUES" .PP Please report bugs or and feature requests to \m[blue]\fB\%https://gitlab.freedesktop.org/mesa/waffle/issues\fR\m[]\&. .SH "SEE ALSO" .PP \fBwaffle\fR(7) .SH "AUTHOR" .PP \fBChad Versace\fR <\&chad\&.versace@linux\&.intel\&.com\&> .RS 4 Maintainer .RE .SH "COPYRIGHT" .br Copyright \(co 2013 Intel .br .PP This manual page is licensed under the Creative Commons Attribution\-ShareAlike 3\&.0 United States License (CC BY\-SA 3\&.0)\&. To view a copy of this license, visit \m[blue]\fB\%http://creativecommons.org.license/by-sa/3.0/us\fR\m[]\&. .sp