SH-2244 fix flickering shadows and occlusion culling.

meow-7.2.2
Dave Parks 2011-09-22 13:41:26 -05:00
parent a1a7120299
commit d3f614e2e9
1 changed files with 2 additions and 5 deletions

View File

@ -1989,11 +1989,8 @@ void LLVertexBuffer::setBuffer(U32 data_mask, S32 type)
}
}
if (data_mask)
{
setupClientArrays(data_mask, ref_mask);
}
setupClientArrays(data_mask, ref_mask);
if (mGLIndices)
{
sGLRenderIndices = mGLIndices;