Remove glewexperimental flag

This commit is contained in:
Vincent Lejeune 2014-09-16 16:06:58 +02:00
parent ef5039c02f
commit 7516dc920a

View File

@ -105,10 +105,6 @@ void initGL()
if (is_gl_init)
return;
is_gl_init = true;
// For Mesa extension reporting
#ifdef __linux__
glewExperimental = GL_TRUE;
#endif
GLenum err = glewInit();
if (GLEW_OK != err)
Log::fatal("GLEW", "Glew initialisation failed with error %s", glewGetErrorString(err));
@ -762,4 +758,4 @@ const std::string getGLExtensions()
}
return result;
} // getGLExtensions
} // getGLExtensions