mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2025-02-22 16:39:41 +00:00
18 lines
358 B
C
18 lines
358 B
C
}
|
|
ret = (len == 0);
|
|
}
|
|
return ret;
|
|
}
|
|
|
|
#if defined(_WIN32) && !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))
|
|
{
|