Added call to GlewInit() under *nix, should fix cairo display crashes.

This commit is contained in:
Ben Anderson committed 2014-03-29 21:11:43 +13:00
1 parent b317b2feda
commit e24027eccb
1 file changed
+3
+3
View File
@@ -39,6 +39,9 @@ void OpenGL::Init()
#include "GLProcTable.tbl"
#undef OPENGL_PROC
#undef OPENGL_PROC2
#elif __UNIX__
glewExperimental = true;
glewInit();
#endif
}