Added call to GlewInit() under *nix, should fix cairo display crashes.
This commit is contained in:
@@ -39,6 +39,9 @@ void OpenGL::Init()
|
|||||||
#include "GLProcTable.tbl"
|
#include "GLProcTable.tbl"
|
||||||
#undef OPENGL_PROC
|
#undef OPENGL_PROC
|
||||||
#undef OPENGL_PROC2
|
#undef OPENGL_PROC2
|
||||||
|
#elif __UNIX__
|
||||||
|
glewExperimental = true;
|
||||||
|
glewInit();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user