Skip to content
Snippets Groups Projects
Commit b116e5bb authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Small opt

parent 95236f6d
No related branches found
No related tags found
No related merge requests found
......@@ -1930,7 +1930,7 @@ void LLDrawPoolAvatar::updateRiggedFaceVertexBuffer(
bind_shape_matrix.loadu(skin->mBindShapeMatrix);
{
for (U32 j = 0; j < buffer->getNumVerts(); ++j)
for (S32 j = 0, j_end = buffer->getNumVerts(); j < j_end; ++j)
{
LLMatrix4a final_mat;
LLSkinningUtil::getPerVertexSkinMatrix(weights[j].getF32ptr(), mat, false, final_mat, max_joints);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment