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 Β© 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