summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPalmer Truelson <palmer@lindenlab.com>2010-02-23 17:34:29 -0800
committerPalmer Truelson <palmer@lindenlab.com>2010-02-23 17:34:29 -0800
commit4d4f40631aee98047f343ea0c763e673d13ee088 (patch)
tree8eb219aaf731173d4401088c68e395293cc1f354
parentaf229a7bb0c891ec5d3e256e2509313c636973a3 (diff)
Turning back on bao's fix for compilation cast problem. Backed out changeset ae9bbbf181d9
-rw-r--r--indra/llui/llui.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/llui/llui.cpp b/indra/llui/llui.cpp
index 44a57a0989..852a19660a 100644
--- a/indra/llui/llui.cpp
+++ b/indra/llui/llui.cpp
@@ -710,19 +710,19 @@ void gl_draw_scaled_rotated_image(S32 x, S32 y, S32 width, S32 height, F32 degre
v = LLVector3(offset_x, offset_y, 0.f) * quat;
gGL.texCoord2f(uv_rect.mRight, uv_rect.mTop);
- gGL.vertex2i((GLint)v.mV[0], (GLint)v.mV[1] );
+ gGL.vertex2i(v.mV[0], v.mV[1] );
v = LLVector3(-offset_x, offset_y, 0.f) * quat;
gGL.texCoord2f(uv_rect.mLeft, uv_rect.mTop);
- gGL.vertex2i((GLint)v.mV[0], (GLint)v.mV[1] );
+ gGL.vertex2i(v.mV[0], v.mV[1] );
v = LLVector3(-offset_x, -offset_y, 0.f) * quat;
gGL.texCoord2f(uv_rect.mLeft, uv_rect.mBottom);
- gGL.vertex2i((GLint)v.mV[0], (GLint)v.mV[1] );
+ gGL.vertex2i(v.mV[0], v.mV[1] );
v = LLVector3(offset_x, -offset_y, 0.f) * quat;
gGL.texCoord2f(uv_rect.mRight, uv_rect.mBottom);
- gGL.vertex2i((GLint)v.mV[0], (GLint)v.mV[1] );
+ gGL.vertex2i(v.mV[0], v.mV[1] );
}
gGL.end();
gGL.popUIMatrix();