Try to fix glew initialisation with Mesa

This commit is contained in:
Vincent Lejeune 2014-09-07 00:14:34 +02:00
parent 0eeeb60685
commit e91a916e14

View File

@ -98,6 +98,7 @@ void initGL()
if (is_gl_init)
return;
is_gl_init = true;
glewExperimental = GL_TRUE;
GLenum err = glewInit();
if (GLEW_OK != err)
Log::fatal("GLEW", "Glew initialisation failed with error %s", glewGetErrorString(err));