summaryrefslogtreecommitdiff
path: root/glew/auto/src/glew_str_wgl.c
blob: db67b516cc69e3630ba2748114c76fd1d80024d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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))
    {