diff --git a/source/shared_lib/sources/graphics/gl/texture_gl.cpp b/source/shared_lib/sources/graphics/gl/texture_gl.cpp index 99837f02..81617b74 100644 --- a/source/shared_lib/sources/graphics/gl/texture_gl.cpp +++ b/source/shared_lib/sources/graphics/gl/texture_gl.cpp @@ -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;