- Fixed texcompression being disabled after each restart

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@163 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
namespace 2007-04-25 18:54:37 +00:00
parent 389cb33239
commit 47e6646181
4 changed files with 68 additions and 51 deletions

View file

@ -1,6 +1,10 @@
This is the changelog for developers, != changelog for the end user
that we distribute with the binaries. (see changelog)
25/04/2007
- Fixed texcompression beeing disabled after each restart
- Fixed gtk-searchpopup in treeviews
15/03/2007
namespace
- Fixed brushexport2 output float-format (Shaderman)

View file

@ -54,7 +54,7 @@
BrowseInformation="0"
WarningLevel="3"
Detect64BitPortabilityProblems="true"
DebugInformationFormat="3"
DebugInformationFormat="4"
DisableSpecificWarnings="4610;4510;4512;4505;4100;4127;4996"
/>
<Tool

View file

@ -534,7 +534,6 @@ TexturesCache& GetTexturesCache()
void Textures_Realise()
{
SetTexParameters(g_texture_mode);
g_texturesmap->realise();
}
@ -564,7 +563,6 @@ void Textures_ModeChanged()
}
glBindTexture( GL_TEXTURE_2D, 0 );
//qglFinish();
}
g_texturesModeChangedNotify();
}
@ -593,6 +591,12 @@ void Textures_UpdateTextureCompressionFormat()
{
GLint texture_components = GL_RGBA;
if(!g_texturesmap->realised())
{
texture_components = g_texture_globals.m_nTextureCompressionFormat;
}
else
{
if (g_texture_globals.bTextureCompressionSupported)
{
if(g_texture_globals.m_nTextureCompressionFormat != TEXTURECOMPRESSION_NONE
@ -642,6 +646,7 @@ void Textures_UpdateTextureCompressionFormat()
texture_components = GL_RGBA;
g_texture_globals.m_nTextureCompressionFormat = TEXTURECOMPRESSION_NONE;
}
}
Textures_setTextureComponents(texture_components);
}

View file

@ -13,6 +13,8 @@
<dir name="2.10.0">
<dir name="engines">
<file name="libwimp.dll"/>
<file name="libclearlooks.dll"/>
<file name="libpixmap.dll"/>
</dir>
<dir name="immodules">
<file name="im-ipa.dll"/>
@ -20,6 +22,7 @@
<dir name="loaders">
<file name="libpixbufloader-bmp.dll"/>
<file name="libpixbufloader-xpm.dll"/>
<file name="libpixbufloader-png.dll"/>
</dir>
</dir>
</dir>
@ -45,6 +48,11 @@
<file name="gtkrc"/>
</dir>
</dir>
<dir name="Clearlooks">
<dir name="gtk-2.0">
<file name="gtkrc"/>
</dir>
</dir>
</dir>
</dir>
</component>