- incremented version to 3.6.1-dev

- a few changes to opengl version checking (now uses glew)
This commit is contained in:
Mark Vejvoda
2011-12-06 01:34:51 +00:00
parent dc6cd9281f
commit b6d7d1234c
5 changed files with 53 additions and 49 deletions

View File

@@ -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");
}
}