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

This commit is contained in:
Ben Anderson 2014-03-29 21:11:43 +13:00
parent b317b2feda
commit e24027eccb
1 changed files with 3 additions and 0 deletions

View File

@ -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
} }