mirror of
https://github.com/glest/glest-source.git
synced 2025-08-31 19:51:44 +02:00
- changed default texture compression to non st3 for now
This commit is contained in:
@@ -49,12 +49,12 @@ GLint toCompressionFormatGl(GLint format) {
|
|||||||
return GL_COMPRESSED_LUMINANCE;
|
return GL_COMPRESSED_LUMINANCE;
|
||||||
case GL_RGB:
|
case GL_RGB:
|
||||||
case GL_RGB8:
|
case GL_RGB8:
|
||||||
//return GL_COMPRESSED_RGB;
|
return GL_COMPRESSED_RGB;
|
||||||
return GL_COMPRESSED_RGB_S3TC_DXT1_EXT;
|
//return GL_COMPRESSED_RGB_S3TC_DXT1_EXT;
|
||||||
case GL_RGBA:
|
case GL_RGBA:
|
||||||
case GL_RGBA8:
|
case GL_RGBA8:
|
||||||
//return GL_COMPRESSED_RGBA;
|
return GL_COMPRESSED_RGBA;
|
||||||
return GL_COMPRESSED_RGBA_S3TC_DXT5_EXT;
|
//return GL_COMPRESSED_RGBA_S3TC_DXT5_EXT;
|
||||||
case GL_ALPHA:
|
case GL_ALPHA:
|
||||||
case GL_ALPHA8:
|
case GL_ALPHA8:
|
||||||
return GL_COMPRESSED_ALPHA;
|
return GL_COMPRESSED_ALPHA;
|
||||||
|
Reference in New Issue
Block a user