From 1cfbfda6fa429ab0ee2e503262946a8adbfd9a2e Mon Sep 17 00:00:00 2001 From: BeaR Date: Mon, 3 Sep 2012 11:39:12 +0200 Subject: Missed a file.. --- src/engine/client/graphics_threaded.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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; -- cgit 1.4.1