- try to add special texture compression types from GL_3DFX_texture_compression_FXT1

This commit is contained in:
Mark Vejvoda 2010-10-29 20:44:21 +00:00
parent 200031874c
commit 268730cfae

View File

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