diff options
author | github-classroom[bot] <66690702+github-classroom[bot]@users.noreply.github.com> | 2024-03-19 02:01:17 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-19 02:01:17 +0000 |
commit | 0f8d0e3cfdbd9b11b2357ed3e1a11375e7af8e80 (patch) | |
tree | 48b88b3b3b3a522a90c38b2178363a163a32f2ee /glew/auto/src/glew_str_wgl.c |
Initial commit
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)) + { |