mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +00:00
- fixed invalid variable reference on ARM
This commit is contained in:
parent
f1ce0f1136
commit
2c3d867946
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue