Use LLColor4U::white instead of LLColor4::white when assigning as vertex color.

This commit is contained in:
Shyotl
2015-06-01 16:56:24 -05:00
parent 7a9a4f3e1e
commit 142322528c

View File

@@ -1516,10 +1516,10 @@ BOOL LLVOSky::updateHeavenlyBodyGeometry(LLDrawable *drawable, const S32 f, cons
*indicesp++ = index_offset + 2;
*indicesp++ = index_offset + 3;
*(colorsp++) = LLColor4::white;
*(colorsp++) = LLColor4::white;
*(colorsp++) = LLColor4::white;
*(colorsp++) = LLColor4::white;
*(colorsp++) = LLColor4U::white;
*(colorsp++) = LLColor4U::white;
*(colorsp++) = LLColor4U::white;
*(colorsp++) = LLColor4U::white;
facep->getVertexBuffer()->flush();