- try to add special texture compression types from GL_EXT_texture_sRGB

This commit is contained in:
Mark Vejvoda 2010-10-29 19:54:35 +00:00
parent 1a32bf165e
commit 7ccca89dbf

View File

@ -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: