summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/newview/llface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp
index 365f2fbe1a..53dc335c16 100644
--- a/indra/newview/llface.cpp
+++ b/indra/newview/llface.cpp
@@ -1398,7 +1398,7 @@ BOOL LLFace::getGeometryVolume(const LLVolume& volume,
F32 da = normal * gPipeline.mSunDir;
- *colors++ = LLColor4U(color.mV[0]*da, color.mV[1]*da, color.mV[2]*da, color.mV[3]);
+ *colors++ = LLColor4U(U8(color.mV[0]*da), U8(color.mV[1]*da), U8(color.mV[2]*da), color.mV[3]);
}
else
{