From 7ccca89dbfe6de00f1bbacbef58e7cf2fe8c8c13 Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Fri, 29 Oct 2010 19:54:35 +0000 Subject: [PATCH] - try to add special texture compression types from GL_EXT_texture_sRGB --- source/shared_lib/sources/graphics/gl/texture_gl.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/shared_lib/sources/graphics/gl/texture_gl.cpp b/source/shared_lib/sources/graphics/gl/texture_gl.cpp index 6359b8ac6..1c4800911 100644 --- a/source/shared_lib/sources/graphics/gl/texture_gl.cpp +++ b/source/shared_lib/sources/graphics/gl/texture_gl.cpp @@ -324,6 +324,7 @@ GLint toCompressionFormatGl(GLint format) { //else if(std::find(supportedCompressionFormats.begin(),supportedCompressionFormats.end(),GL_COMPRESSED_RGB_FXT1_3DFX) != supportedCompressionFormats.end()) { // return GL_COMPRESSED_RGB_FXT1_3DFX; //} + break; case GL_RGBA: case GL_RGBA8: @@ -343,6 +344,7 @@ GLint toCompressionFormatGl(GLint format) { //else if(std::find(supportedCompressionFormats.begin(),supportedCompressionFormats.end(),GL_COMPRESSED_RGBA_FXT1_3DFX) != supportedCompressionFormats.end()) { // return GL_COMPRESSED_RGBA_FXT1_3DFX; //} + break; case GL_ALPHA: case GL_ALPHA8: