Skip to content
Snippets Groups Projects
Commit a4eef8ee authored by James Cook's avatar James Cook
Browse files

Fix Linux build - failing due to warning about S32/float conversion

parent 52aeaa32
No related branches found
No related tags found
No related merge requests found
...@@ -406,7 +406,7 @@ void LLGLTexMemBar::draw() ...@@ -406,7 +406,7 @@ void LLGLTexMemBar::draw()
S32 max_total_mem = LLViewerImage::sMaxTotalTextureMemInMegaBytes; S32 max_total_mem = LLViewerImage::sMaxTotalTextureMemInMegaBytes;
F32 discard_bias = LLViewerImage::sDesiredDiscardBias; F32 discard_bias = LLViewerImage::sDesiredDiscardBias;
S32 line_height = (S32)(LLFontGL::getFontMonospace()->getLineHeight() + .5f); S32 line_height = (S32)(LLFontGL::getFontMonospace()->getLineHeight() + .5f);
S32 h_offset = (texture_bar_height + 2.8f) * mTextureView->mNumTextureBars ; S32 h_offset = (S32)((texture_bar_height + 2.8f) * mTextureView->mNumTextureBars);
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------
LLGLSUIDefault gls_ui; LLGLSUIDefault gls_ui;
F32 text_color[] = {1.f, 1.f, 1.f, 0.75f}; F32 text_color[] = {1.f, 1.f, 1.f, 0.75f};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment