1. simon_linden
  2. viewer-rabbit

Commits

Comments (0)

Files changed (1)

File indra/newview/llhudeffectblob.cpp Modified

View file
  • Ignore whitespace
  • Hide word diff
 	gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE);
 
 	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);
 
 	glPushMatrix();