Skip to content

Commit

Permalink
Change OpenGL 1.4+VBO check to OpenGL 1.2+VBO+TEC check for testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyp committed Jun 14, 2012
1 parent dd8025d commit 8b8282c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/ivis_opengl/screen.cpp
Expand Up @@ -181,11 +181,16 @@ bool screenInitialise()
debug(LOG_POPUP, _("OpenGL 1.5/2.0 is not supported by your system. Some things may look wrong. Please upgrade your graphics driver/hardware, if possible."));
// screen_EnableVBO should be called later, so nothing (quesoGLC) will call glewInit twice and flush our tweaks into void
}
else if (GLEW_VERSION_1_2 && GLEW_ARB_vertex_buffer_object && GLEW_ARB_texture_env_crossbar)
{
debug(LOG_POPUP, _("OpenGL 1.4 + VBO extension is not supported by your system. Some things may look wrong. Please upgrade your graphics driver/hardware, if possible."));
// screen_EnableVBO should be called later, so nothing (quesoGLC) will call glewInit twice and flush our tweaks into void
}
else
{
// We wite this file in hopes that people will upload the information in it to us.
writeGameInfo("WZdebuginfo.txt");
debug(LOG_FATAL, _("OpenGL 1.4 + VBO extension is not supported by your system. The game requires this. Please upgrade your graphics drivers/hardware, if possible."));
debug(LOG_FATAL, _("OpenGL 1.2 + VBO extension + TEC extension is not supported by your system. The game requires this. Please upgrade your graphics drivers/hardware, if possible."));
exit(1);
}
}
Expand Down

0 comments on commit 8b8282c

Please sign in to comment.