mirror of
https://github.com/glest/glest-source.git
synced 2025-09-02 20:42:34 +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);
|
throw megaglest_runtime_error(message.c_str(),true);
|
||||||
}
|
}
|
||||||
|
|
||||||
//opengl 1.3
|
//opengl 2.1
|
||||||
//if(!isGlVersionSupported(1, 3, 0)) {
|
if(glewIsSupported("GL_VERSION_2_1") == false) {
|
||||||
if(glewIsSupported("GL_VERSION_1_3") == false) {
|
|
||||||
string message;
|
string message;
|
||||||
|
|
||||||
message += "Your system supports OpenGL version [";
|
message += "Your system supports OpenGL version [";
|
||||||
message += getGlVersion() + string("]\n");
|
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";
|
message += "You may solve this problem by installing your latest video card drivers";
|
||||||
|
|
||||||
throw megaglest_runtime_error(message.c_str(),true);
|
throw megaglest_runtime_error(message.c_str(),true);
|
||||||
|
Reference in New Issue
Block a user