]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
- Fixed another texcompression bug
authornamespace <namespace@8a3a26a2-13c4-0310-b231-cf6edde360e5>
Thu, 26 Apr 2007 13:11:36 +0000 (13:11 +0000)
committernamespace <namespace@8a3a26a2-13c4-0310-b231-cf6edde360e5>
Thu, 26 Apr 2007 13:11:36 +0000 (13:11 +0000)
git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk@164 8a3a26a2-13c4-0310-b231-cf6edde360e5

CHANGES
radiant/textures.cpp

diff --git a/CHANGES b/CHANGES
index 638b1d4499274338051bed0636a3969b3a6c6bc7..df7bdaf19a57ebed7d12610a9a46a676a44783ff 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,11 +1,14 @@
 This is the changelog for developers, != changelog for the end user 
 that we distribute with the binaries. (see changelog)
 
+26/04/2007
+- Fixed another texcompression bug
+
 25/04/2007
 - Fixed texcompression beeing disabled after each restart
 - Fixed gtk-searchpopup in treeviews
 
-15/03/2007
+15/04/2007
 namespace
 - Fixed brushexport2 output float-format (Shaderman)
 
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
        {