Try to fix glew initialisation with Mesa
This commit is contained in:
parent
0eeeb60685
commit
e91a916e14
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user