aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lltextureview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/lltextureview.cpp')
-rw-r--r--linden/indra/newview/lltextureview.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/newview/lltextureview.cpp b/linden/indra/newview/lltextureview.cpp
index f00d5e5..d356bf9 100644
--- a/linden/indra/newview/lltextureview.cpp
+++ b/linden/indra/newview/lltextureview.cpp
@@ -384,10 +384,10 @@ private:
384 384
385void LLGLTexMemBar::draw() 385void LLGLTexMemBar::draw()
386{ 386{
387 S32 bound_mem = (LLViewerImage::sBoundTextureMemory >> 20); 387 S32 bound_mem = BYTES_TO_MEGA_BYTES(LLViewerImage::sBoundTextureMemoryInBytes);
388 S32 max_bound_mem = LLViewerImage::sMaxBoundTextureMem; 388 S32 max_bound_mem = LLViewerImage::sMaxBoundTextureMemInMegaBytes;
389 S32 total_mem = (LLViewerImage::sTotalTextureMemory >> 20); 389 S32 total_mem = BYTES_TO_MEGA_BYTES(LLViewerImage::sTotalTextureMemoryInBytes);
390 S32 max_total_mem = LLViewerImage::sMaxTotalTextureMem; 390 S32 max_total_mem = LLViewerImage::sMaxTotalTextureMemInMegaBytes;
391 F32 discard_bias = LLViewerImage::sDesiredDiscardBias; 391 F32 discard_bias = LLViewerImage::sDesiredDiscardBias;
392 S32 line_height = (S32)(LLFontGL::getFontMonospace()->getLineHeight() + .5f); 392 S32 line_height = (S32)(LLFontGL::getFontMonospace()->getLineHeight() + .5f);
393 393