Skip to content
Snippets Groups Projects
Commit f619dd95 authored by Richard Linden's avatar Richard Linden
Browse files

fix for gcc builds

parent e637a291
No related branches found
No related tags found
No related merge requests found
...@@ -61,7 +61,7 @@ void LLHUDEffectBlob::render() ...@@ -61,7 +61,7 @@ void LLHUDEffectBlob::render()
gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE); gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE);
LLColor4U color = mColor; LLColor4U color = mColor;
color.mV[VALPHA] = clamp_rescale(time, 0.f, mDuration, 255.f, 0.f); color.mV[VALPHA] = (U8)clamp_rescale(time, 0.f, mDuration, 255.f, 0.f);
glColor4ubv(color.mV); glColor4ubv(color.mV);
glPushMatrix(); glPushMatrix();
......
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