Fix compilation, why this didn't work for me but works for others is a mystery
This commit is contained in:
parent
f5de76a988
commit
7b5ce0f9d7
@ -10100,11 +10100,12 @@ static GLboolean _glewInit_GL_WIN_swap_hint (GLEW_CONTEXT_ARG_DEF_INIT)
|
|||||||
|
|
||||||
GLboolean GLEWAPIENTRY glewGetExtension (const char* name)
|
GLboolean GLEWAPIENTRY glewGetExtension (const char* name)
|
||||||
{
|
{
|
||||||
if (ext_hashset != NULL)
|
|
||||||
return _glewSearchExtension(name, NULL, NULL);
|
|
||||||
|
|
||||||
const GLubyte* start;
|
const GLubyte* start;
|
||||||
const GLubyte* end;
|
const GLubyte* end;
|
||||||
|
|
||||||
|
if (ext_hashset != NULL)
|
||||||
|
return _glewSearchExtension(name, NULL, NULL);
|
||||||
|
|
||||||
start = (const GLubyte*)glGetString(GL_EXTENSIONS);
|
start = (const GLubyte*)glGetString(GL_EXTENSIONS);
|
||||||
if (start == 0)
|
if (start == 0)
|
||||||
return GL_FALSE;
|
return GL_FALSE;
|
||||||
|
Loading…
Reference in New Issue
Block a user