diff options
| author | callum <none@none> | 2012-06-29 10:36:04 -0700 |
|---|---|---|
| committer | callum <none@none> | 2012-06-29 10:36:04 -0700 |
| commit | 11686a0917c7e6e67920aca46ade4624c5027c0e (patch) | |
| tree | 69f56b63cf711b6aef97e0b06d981e5c8087375a /indra/newview/lltextureview.cpp | |
| parent | fd4708c2c4f221d9f2029072f786e169e119ba1a (diff) | |
| parent | 326634e1bf9b87e9c9311b67539abb43323bd33c (diff) | |
Merge with viewer-beta
Diffstat (limited to 'indra/newview/lltextureview.cpp')
| -rw-r--r-- | indra/newview/lltextureview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lltextureview.cpp b/indra/newview/lltextureview.cpp index 425bf7ee87..52d085dd2c 100644 --- a/indra/newview/lltextureview.cpp +++ b/indra/newview/lltextureview.cpp @@ -510,7 +510,7 @@ void LLGLTexMemBar::draw() F32 discard_bias = LLViewerTexture::sDesiredDiscardBias; F32 cache_usage = (F32)BYTES_TO_MEGA_BYTES(LLAppViewer::getTextureCache()->getUsage()) ; F32 cache_max_usage = (F32)BYTES_TO_MEGA_BYTES(LLAppViewer::getTextureCache()->getMaxUsage()) ; - S32 line_height = (S32)(LLFontGL::getFontMonospace()->getLineHeight() + .5f); + S32 line_height = LLFontGL::getFontMonospace()->getLineHeight(); S32 v_offset = 0;//(S32)((texture_bar_height + 2.2f) * mTextureView->mNumTextureBars + 2.0f); F32 total_texture_downloaded = (F32)gTotalTextureBytes / (1024 * 1024); F32 total_object_downloaded = (F32)gTotalObjectBytes / (1024 * 1024); |
