fix for windows

This commit is contained in:
Atlante45 2014-03-04 11:06:23 -08:00
parent f6ed9c7b4b
commit 9767846c91

View file

@ -403,6 +403,12 @@ void Application::initializeGL() {
#endif
#ifdef WIN32
static bool isInitialized = false;
if (isInitialized) {
return;
} else {
isInitialized = true;
}
GLenum err = glewInit();
if (GLEW_OK != err) {
/* Problem: glewInit failed, something is seriously wrong. */