mirror of
https://github.com/glest/glest-source.git
synced 2025-09-01 20:12:40 +02:00
- update opengl version check since 2.1 is really the minimum supported
This commit is contained in:
@@ -8041,14 +8041,13 @@ void Renderer::checkGlCaps() {
|
||||
throw megaglest_runtime_error(message.c_str(),true);
|
||||
}
|
||||
|
||||
//opengl 1.3
|
||||
//if(!isGlVersionSupported(1, 3, 0)) {
|
||||
if(glewIsSupported("GL_VERSION_1_3") == false) {
|
||||
//opengl 2.1
|
||||
if(glewIsSupported("GL_VERSION_2_1") == false) {
|
||||
string message;
|
||||
|
||||
message += "Your system supports OpenGL version [";
|
||||
message += getGlVersion() + string("]\n");
|
||||
message += "MegaGlest needs at least version 1.3 to work\n";
|
||||
message += "MegaGlest needs at least version 2.1 to work\n";
|
||||
message += "You may solve this problem by installing your latest video card drivers";
|
||||
|
||||
throw megaglest_runtime_error(message.c_str(),true);
|
||||
|
Reference in New Issue
Block a user