mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-24 23:05:06 +00:00
22 lines
446 B
C
22 lines
446 B
C
}
|
|
ret = (len == 0);
|
|
}
|
|
return ret;
|
|
}
|
|
|
|
#if defined(_WIN32)
|
|
|
|
#if defined(GLEW_MX)
|
|
GLboolean GLEWAPIENTRY wglewContextIsSupported (const WGLEWContext* ctx, const char* name)
|
|
#else
|
|
GLboolean GLEWAPIENTRY wglewIsSupported (const char* name)
|
|
#endif
|
|
{
|
|
GLubyte* pos = (GLubyte*)name;
|
|
GLuint len = _glewStrLen(pos);
|
|
GLboolean ret = GL_TRUE;
|
|
while (ret && len > 0)
|
|
{
|
|
if (_glewStrSame1(&pos, &len, (const GLubyte*)"WGL_", 4))
|
|
{
|