1WAFFLE_IS_EXTENSION_(3) Waffle Manual WAFFLE_IS_EXTENSION_(3)
2
3
4
6 waffle_is_extension_in_string - Check if a name appears in an
7 OpenGL-style extension string
8
10 #include <waffle.h>
11
12
13 bool waffle_is_extension_in_string(const char * extension_string,
14 const char * extension_name);
15
17 waffle_is_extension_in_string()
18 Check if an extension name appears in an OpenGL-style extension
19 string.
20
21 The extension_string must be in the format returned by
22 glGetString(GL_EXTENSIONS). Note that this function is not
23 restricted to the OpenGL extension string; it can also be used on
24 the WGL, GLX and EGL extension strings.
25
26 This function can be called before waffle has been successfully
27 initialized with waffle_init(3).
28
30 This function sets the error code to WAFFLE_NO_ERROR.
31
33 Please report bugs or and feature requests to
34 https://gitlab.freedesktop.org/mesa/waffle/issues.
35
37 waffle(7)
38
40 Chad Versace <chad.versace@linux.intel.com>
41 Maintainer
42
44 Copyright © 2013 Intel
45
46 This manual page is licensed under the Creative Commons
47 Attribution-ShareAlike 3.0 United States License (CC BY-SA 3.0). To
48 view a copy of this license, visit
49 http://creativecommons.org.license/by-sa/3.0/us.
50
51
52
53
54waffle 01/27/2021 WAFFLE_IS_EXTENSION_(3)