WAFFLE_IS_EXTENSION_(3)
π WAFFLE_IS_EXTENSION_(3) π
okay bestie, so this is a page from the Waffle Manual and it's literally about one tiny lil function that does a vibe check on extension strings. sit with me, it's a short one π
β¨ NAME β¨
waffle_is_extension_in_string β check if a name appears in an OpenGL-style extension string π
πΈ SYNOPSIS πΈ
#include <waffle.h>
bool waffle_is_extension_in_string(const char * extension_string,
const char * extension_name);
like. two const char *s and a bool. that's the whole thing. no cap π«Ά
π¦ DESCRIPTION π¦
waffle_is_extension_in_string() β it checks if an extension name shows up inside an OpenGL-style extension string. that's the entire job. no drama, no notes π
the extension_string must be in the format that glGetString(GL_EXTENSIONS) returns. but here's the cute part β this function is not restricted to the OpenGL extension string, so you can also use it on the WGL, GLX and EGL extension strings. versatile queen π
also! and this is the slay of it all: this function can be called before waffle has been successfully initialized with waffle_init(3). she does not need to wait for anyone. main character energy, honestly β
π ERRORS π
this function sets the error code to WAFFLE_NO_ERROR. so like, the error channel is having a great day. it's giving peaceful π
π ISSUES π
please report bugs or and feature requests to https://gitlab.freedesktop.org/mesa/waffle/issues. besties tell her everything, she wants to know π
π₯ SEE ALSO π₯
waffle(7)β go read the big one, iykyk
π AUTHOR π
Chad Versace <chad.versace@linux.intel.com>
- Former maintainer β¨
π COPYRIGHT π
Copyright Β© 2013 Intel
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 http://creativecommons.org.license/by-sa/3.0/us.
and that's the whole page, bestie, no crumbs left π
with love from waffle, version dated 07/06/2026, and yes the page header and footer both say WAFFLE_IS_EXTENSION_(3) because she's consistent like that π¦
π¦ where this page comes from
- ubuntu stonking: libwaffle-doc 1.8.3-1 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms