mirror of
https://github.com/glest/glest-source.git
synced 2025-08-25 09:10:49 +02:00
- incremented version to 3.6.1-dev
- a few changes to opengl version checking (now uses glew)
This commit is contained in:
@@ -119,7 +119,8 @@ void Renderer::transform(float rotX, float rotY, float zoom) {
|
||||
|
||||
void Renderer::checkGlCaps() {
|
||||
//opengl 1.3
|
||||
if(!isGlVersionSupported(1, 3, 0)) {
|
||||
//if(!isGlVersionSupported(1, 3, 0)) {
|
||||
if(glewIsSupported("GL_VERSION_1_3") == false) {
|
||||
string message;
|
||||
|
||||
message += "Your system supports OpenGL version \"";
|
||||
@@ -131,7 +132,8 @@ void Renderer::checkGlCaps() {
|
||||
}
|
||||
|
||||
//opengl 1.4 or extension
|
||||
if(isGlVersionSupported(1, 4, 0) == false) {
|
||||
//if(isGlVersionSupported(1, 4, 0) == false) {
|
||||
if(glewIsSupported("GL_VERSION_1_4") == false) {
|
||||
checkExtension("GL_ARB_texture_env_crossbar", "MegaGlest");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user