- fixed invalid variable reference on ARM

This commit is contained in:
Rachael Alexanderson 2017-03-25 01:40:06 -04:00
parent f1ce0f1136
commit 2c3d867946
1 changed files with 1 additions and 1 deletions

View File

@ -304,7 +304,7 @@ int PolyTriangleDrawer::clipedge(const ShadedTriVertex *verts, TriVertex *clippe
clipd[5] = v.w - v.z; clipd[5] = v.w - v.z;
clipd[6] = v.clipDistance0; clipd[6] = v.clipDistance0;
needsclipping = needsclipping || clipd[0] < 0.0f || clipd[1] < 0.0f || clipd[2] < 0.0f || clipd[3] < 0.0f || clipd[4] < 0.0f || clipd[5] < 0.0f || clipd[6] < 0.0f; needsclipping = needsclipping || clipd[0] < 0.0f || clipd[1] < 0.0f || clipd[2] < 0.0f || clipd[3] < 0.0f || clipd[4] < 0.0f || clipd[5] < 0.0f || clipd[6] < 0.0f;
clipd += numclipdistancespitch; clipd += numclipdistances;
} }
// If all halfspace clip distances are positive then the entire triangle is visible. Skip the expensive clipping step. // If all halfspace clip distances are positive then the entire triangle is visible. Skip the expensive clipping step.