diff options
| author | BeaR <cinaera@web.de> | 2012-09-03 11:39:12 +0200 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2013-02-24 18:02:09 +0100 |
| commit | 1cfbfda6fa429ab0ee2e503262946a8adbfd9a2e (patch) | |
| tree | a6b765838cf5f5b541f62af2d3509a8805b08fc7 /src/engine/client/graphics_threaded.cpp | |
| parent | c3dd09cebfeca29a33ab77dfcfb27ec7a64a9687 (diff) | |
| download | zcatch-1cfbfda6fa429ab0ee2e503262946a8adbfd9a2e.tar.gz zcatch-1cfbfda6fa429ab0ee2e503262946a8adbfd9a2e.zip | |
Missed a file..
Diffstat (limited to 'src/engine/client/graphics_threaded.cpp')
| -rw-r--r-- | src/engine/client/graphics_threaded.cpp | 2 |
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; |