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:
parent
24a33e505e
commit
b4ff911fa3
|
@ -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)))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue