mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-28 08:41:55 +00:00
10 lines
261 B
C
10 lines
261 B
C
GLboolean GLEWAPIENTRY glewIsSupported (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*)"GL_", 3))
|
|
{
|