kusano 7d535a
    }
kusano 7d535a
    ret = (len == 0);
kusano 7d535a
  }
kusano 7d535a
  return ret;
kusano 7d535a
}
kusano 7d535a
kusano 7d535a
#if defined(_WIN32)
kusano 7d535a
kusano 7d535a
#if defined(GLEW_MX)
kusano 7d535a
GLboolean GLEWAPIENTRY wglewContextIsSupported (const WGLEWContext* ctx, const char* name)
kusano 7d535a
#else
kusano 7d535a
GLboolean GLEWAPIENTRY wglewIsSupported (const char* name)
kusano 7d535a
#endif
kusano 7d535a
{
kusano 7d535a
  GLubyte* pos = (GLubyte*)name;
kusano 7d535a
  GLuint len = _glewStrLen(pos);
kusano 7d535a
  GLboolean ret = GL_TRUE;
kusano 7d535a
  while (ret && len > 0)
kusano 7d535a
  {
kusano 7d535a
    if (_glewStrSame1(&pos, &len, (const GLubyte*)"WGL_", 4))
kusano 7d535a
    {