diff options
Diffstat (limited to 'glew/auto/src/glew_str_egl.c')
-rw-r--r-- | glew/auto/src/glew_str_egl.c | 17 |
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)) + { |