about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBeaR <cinaera@web.de>2012-09-03 11:39:12 +0200
committeroy <Tom_Adams@web.de>2013-02-24 18:02:09 +0100
commit1cfbfda6fa429ab0ee2e503262946a8adbfd9a2e (patch)
treea6b765838cf5f5b541f62af2d3509a8805b08fc7
parentc3dd09cebfeca29a33ab77dfcfb27ec7a64a9687 (diff)
downloadzcatch-1cfbfda6fa429ab0ee2e503262946a8adbfd9a2e.tar.gz
zcatch-1cfbfda6fa429ab0ee2e503262946a8adbfd9a2e.zip
Missed a file..
-rw-r--r--src/engine/client/graphics_threaded.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/engine/client/graphics_threaded.cpp b/src/engine/client/graphics_threaded.cpp
index f67753fb..8653b62a 100644
--- a/src/engine/client/graphics_threaded.cpp
+++ b/src/engine/client/graphics_threaded.cpp
@@ -359,6 +359,8 @@ int CGraphics_Threaded::LoadTextureRaw(int Width, int Height, int Format, const
 	Cmd.m_Flags = 0;
 	if(Flags&IGraphics::TEXLOAD_NOMIPMAPS)
 		Cmd.m_Flags |= CCommandBuffer::TEXFLAG_NOMIPMAPS;
+	if(g_Config.m_GfxTextureCompression)
+		Cmd.m_Flags |= CCommandBuffer::TEXFLAG_COMPRESSED;
 
 	// calculate memory usage
 	int PixelSize = 4;