Style cleanup

This commit is contained in:
2014-09-30 17:28:04 +06:00
parent c0276251d2
commit 202831fc4f

View File

@@ -1651,7 +1651,8 @@ static void shade_lamp_loop_only_shadow(ShadeInput *shi, ShadeResult *shr)
else { /* shadowonly_flag == MA_SO_SHADED */
/* Use shaded value */
accum = 1.0f - shaded;
}}
}
}
shr->alpha= (shi->alpha)*(accum);
if (shr->alpha<0.0f) shr->alpha=0.0f;