mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-12-04 12:27:07 +00:00
2642bccfca
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@634 783a27ee-832a-0410-bc00-9f386506c6dd
22 lines
420 B
C
22 lines
420 B
C
}
|
|
ret = (len == 0);
|
|
}
|
|
return ret;
|
|
}
|
|
|
|
#if defined(_WIN32)
|
|
|
|
#if defined(GLEW_MX)
|
|
GLboolean wglewContextIsSupported (const 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))
|
|
{
|