summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Linden <none@none>2013-04-10 15:31:44 -0700
committerRichard Linden <none@none>2013-04-10 15:31:44 -0700
commitfaebbb23f87a855463aba611ca8944ec7f4e0a9c (patch)
tree4a7ced8323b8db5dcf6e387046419ae72e2a09c0
parent288b43facb89184cc8fced7e7542baa2c8549831 (diff)
BUILDFIX: gcc error about type conversion
-rw-r--r--indra/llui/llstatbar.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/llui/llstatbar.cpp b/indra/llui/llstatbar.cpp
index d9f3d14ef0..d73cd74651 100644
--- a/indra/llui/llstatbar.cpp
+++ b/indra/llui/llstatbar.cpp
@@ -421,10 +421,10 @@ void LLStatBar::draw()
}
else
{
- gGL.vertex2i(begin, (F32)bar_bottom+offset+1.f);
- gGL.vertex2i(begin, (F32)bar_bottom+offset);
- gGL.vertex2i(end, (F32)bar_bottom+offset);
- gGL.vertex2i(end, (F32)bar_bottom+offset+1.f);
+ gGL.vertex2f(begin, (F32)bar_bottom+offset+1.f);
+ gGL.vertex2f(begin, (F32)bar_bottom+offset);
+ gGL.vertex2f(end, (F32)bar_bottom+offset);
+ gGL.vertex2f(end, (F32)bar_bottom+offset+1.f);
}
}
gGL.end();