Commit 35f3e96b authored by Jan Möbius's avatar Jan Möbius
Browse files

Quick fix for the glewInit "problem" ;-)

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 93a4ccba
......@@ -289,6 +289,13 @@ int main(int argc, char **argv)
// After setting all Options from command line, build the real gui
GLenum err = glewInit();
if (GLEW_OK != err)
/* Problem: glewInit failed, something is seriously wrong. */
fprintf(stderr, "Error: %s\n", glewGetErrorString(err));
for ( int i = 0 ; i < args.FileCount(); ++i )
w->commandLineOpen(args.File(i), openPolyMeshes);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment