aboutsummaryrefslogtreecommitdiff
path: root/glew/auto/src/glew_str_egl.c
diff options
context:
space:
mode:
authorgithub-classroom[bot] <66690702+github-classroom[bot]@users.noreply.github.com>2024-03-19 02:01:17 +0000
committerGitHub <noreply@github.com>2024-03-19 02:01:17 +0000
commit0f8d0e3cfdbd9b11b2357ed3e1a11375e7af8e80 (patch)
tree48b88b3b3b3a522a90c38b2178363a163a32f2ee /glew/auto/src/glew_str_egl.c
Initial commit
Diffstat (limited to 'glew/auto/src/glew_str_egl.c')
-rw-r--r--glew/auto/src/glew_str_egl.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/glew/auto/src/glew_str_egl.c b/glew/auto/src/glew_str_egl.c
new file mode 100644
index 0000000..f0c52f9
--- /dev/null
+++ b/glew/auto/src/glew_str_egl.c
@@ -0,0 +1,17 @@
+ }
+ ret = (len == 0);
+ }
+ return ret;
+}
+
+#elif defined(GLEW_EGL)
+
+GLboolean eglewIsSupported (const char* name)
+{
+ const GLubyte* pos = (const GLubyte*)name;
+ GLuint len = _glewStrLen(pos);
+ GLboolean ret = GL_TRUE;
+ while (ret && len > 0)
+ {
+ if(_glewStrSame1(&pos, &len, (const GLubyte*)"EGL_", 4))
+ {