diff options
Diffstat (limited to 'glew/auto/src/glew_str_wgl.c')
-rw-r--r-- | glew/auto/src/glew_str_wgl.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/glew/auto/src/glew_str_wgl.c b/glew/auto/src/glew_str_wgl.c new file mode 100644 index 0000000..db67b51 --- /dev/null +++ b/glew/auto/src/glew_str_wgl.c @@ -0,0 +1,17 @@ + } + ret = (len == 0); + } + return ret; +} + +#if defined(_WIN32) && !defined(GLEW_EGL) && !defined(GLEW_OSMESA) + +GLboolean GLEWAPIENTRY wglewIsSupported (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*)"WGL_", 4)) + { |