mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-26 15:51:56 +00:00
11 lines
273 B
C
11 lines
273 B
C
|
#ifdef GLEW_MX
|
||
|
GLboolean glewContextIsSupported (GLEWContext* ctx, const char* name)
|
||
|
#else
|
||
|
GLboolean glewIsSupported (const char* name)
|
||
|
#endif
|
||
|
{
|
||
|
GLubyte* pos = (GLubyte*)name;
|
||
|
GLuint len = _glewStrLen(pos);
|
||
|
if(_glewStrSame2(&pos, &len, (const GLubyte*)"GL_", 3))
|
||
|
{
|