mirror of
https://github.com/glest/glest-source.git
synced 2025-02-24 11:42:31 +01:00
- try to add special texture compression types from GL_3DFX_texture_compression_FXT1
This commit is contained in:
parent
200031874c
commit
268730cfae
@ -739,6 +739,10 @@ void TextureCubeGl::init(Filter filter, int maxAnisotropy) {
|
||||
glCompressionFormat = glInternalFormat;
|
||||
}
|
||||
|
||||
if(glCompressionFormat == GL_COMPRESSED_RGBA_FXT1_3DFX) {
|
||||
glCompressionFormat = glInternalFormat;
|
||||
}
|
||||
|
||||
//pixel init var
|
||||
const uint8* pixels= pixmapInit? currentPixmap->getPixels(): NULL;
|
||||
GLenum target= GL_TEXTURE_CUBE_MAP_POSITIVE_X + i;
|
||||
|
Loading…
x
Reference in New Issue
Block a user