mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-23 07:05:07 +00:00
14 lines
378 B
C
14 lines
378 B
C
#ifdef GLEW_MX
|
|
GLboolean GLEWAPIENTRY glewContextIsSupported (const GLEWContext* ctx, const char* name)
|
|
#else
|
|
GLboolean GLEWAPIENTRY glewIsSupported (const char* name)
|
|
#endif
|
|
{
|
|
const GLubyte* pos = (const GLubyte*)name;
|
|
GLuint len = _glewStrLen(pos);
|
|
GLboolean ret = GL_TRUE;
|
|
while (ret && len > 0)
|
|
{
|
|
if (_glewStrSame1(&pos, &len, (const GLubyte*)"GL_", 3))
|
|
{
|