libepoxy
1.5.3
|
A common header file, used to define macros and shared symbols. More...
#include <stdbool.h>
Functions | |
bool | epoxy_extension_in_string (const char *extension_list, const char *ext) |
Checks for the presence of an extension in an OpenGL extension string. More... | |
A common header file, used to define macros and shared symbols.
bool epoxy_extension_in_string | ( | const char * | extension_list, |
const char * | ext | ||
) |
Checks for the presence of an extension in an OpenGL extension string.
extension_list | The string containing the list of extensions to check |
ext | The name of the GL extension |
true
if the extension is available'Some parts of the spec for OpenGL and friends will return an OpenGL formatted extension string that is separate from the usual extension strings for the spec. This function provides easy parsing of those strings.