Fix regression caused by change to front face polygon culling (#1820)

* fix regression with facing view

Only the check for a polygon being counter-clockwise is supposed to be <=

* only use dot < 0 for 'cull front face' polygons

this is the fix.
This commit is contained in:
Jaklyy
2023-11-07 15:22:25 -05:00
committed by GitHub
parent 24a33e505e
commit b4ff911fa3

View File

@ -1070,7 +1070,7 @@ void SubmitPolygon()
bool facingview = (dot <= 0); bool facingview = (dot <= 0);
if (facingview) if (dot < 0)
{ {
if (!(CurPolygonAttr & (1<<7))) if (!(CurPolygonAttr & (1<<7)))
{ {