blob: 7692e83e7808cbc85da08c217374bf3d10328f45 [file] [log] [blame]
}
ret = (len == 0);
}
return ret;
}
#if defined(_WIN32)
#if defined(GLEW_MX)
GLboolean wglewContextIsSupported (WGLEWContext* ctx, const char* name)
#else
GLboolean 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))
{