WAFFLE_IS_EXTENSION_(3) | Waffle Manual | WAFFLE_IS_EXTENSION_(3) |
waffle_is_extension_in_string - Check if a name appears in an OpenGL-style extension string
#include <waffle.h>
bool waffle_is_extension_in_string(const char * extension_string, const char * extension_name);
waffle_is_extension_in_string()
The extension_string 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.
This function can be called before waffle has been successfully initialized with waffle_init(3).
This function sets the error code to WAFFLE_NO_ERROR.
Please report bugs or and feature requests to https://gitlab.freedesktop.org/mesa/waffle/issues.
Chad Versace <chad.versace@linux.intel.com>
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.
08/18/2021 | waffle |