Fix compilation, why this didn't work for me but works for others is a mystery

This commit is contained in:
Marianne Gagnon 2014-09-27 19:07:29 -04:00
parent f5de76a988
commit 7b5ce0f9d7

View File

@ -10100,11 +10100,12 @@ static GLboolean _glewInit_GL_WIN_swap_hint (GLEW_CONTEXT_ARG_DEF_INIT)
GLboolean GLEWAPIENTRY glewGetExtension (const char* name)
{
if (ext_hashset != NULL)
return _glewSearchExtension(name, NULL, NULL);
const GLubyte* start;
const GLubyte* end;
if (ext_hashset != NULL)
return _glewSearchExtension(name, NULL, NULL);
start = (const GLubyte*)glGetString(GL_EXTENSIONS);
if (start == 0)
return GL_FALSE;