Blame thirdparty/glew/glew-1.9.0/auto/src/glew_str_glx.c
|
kusano |
7d535a |
}
|
|
kusano |
7d535a |
ret = (len == 0);
|
|
kusano |
7d535a |
}
|
|
kusano |
7d535a |
return ret;
|
|
kusano |
7d535a |
}
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
#elif !defined(__ANDROID__) && !defined(__APPLE__) || defined(GLEW_APPLE_GLX)
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
#if defined(GLEW_MX)
|
|
kusano |
7d535a |
GLboolean glxewContextIsSupported (const GLXEWContext* ctx, const char* name)
|
|
kusano |
7d535a |
#else
|
|
kusano |
7d535a |
GLboolean glxewIsSupported (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*)"GLX_", 4))
|
|
kusano |
7d535a |
{
|