mirror of
https://github.com/glest/glest-source.git
synced 2025-02-24 19:52:25 +01:00
- try to add special texture compression types from GL_EXT_texture_sRGB
This commit is contained in:
parent
1a32bf165e
commit
7ccca89dbf
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user