Blame thirdparty/glew/glew-1.9.0/auto/src/glew_str_head.c
|
kusano |
7d535a |
#ifdef GLEW_MX
|
|
kusano |
7d535a |
GLboolean GLEWAPIENTRY glewContextIsSupported (const GLEWContext* ctx, const char* name)
|
|
kusano |
7d535a |
#else
|
|
kusano |
7d535a |
GLboolean GLEWAPIENTRY glewIsSupported (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*)"GL_", 3))
|
|
kusano |
7d535a |
{
|