]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/textures.cpp
- Fixed another texcompression bug
[xonotic/netradiant.git] / radiant / textures.cpp
index cb445e4ef61ec841bc2a6eab86d8544301d46891..76a79704679d380a37b190da3724af4e66798be1 100644 (file)
@@ -594,6 +594,8 @@ void Textures_UpdateTextureCompressionFormat()
        if(!g_texturesmap->realised())
        {
                texture_components = g_texture_globals.m_nTextureCompressionFormat;
+               if(texture_components == TEXTURECOMPRESSION_NONE)
+                       texture_components = GL_RGBA;
        }
        else
        {