1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-07 03:13:49 +00:00

Disable POLYGON_OFFSET for ZMODE_INTER.

Fixed polygons interpenetration in Duck Dodgers, #195
This commit is contained in:
Sergey Lipskiy 2014-12-20 22:24:12 +06:00
parent 3979bf9321
commit a19758dcef

View File

@ -586,7 +586,7 @@ void OGLRender::_updateStates() const
glDepthFunc(GL_LEQUAL);
break;
case ZMODE_INTER:
glEnable(GL_POLYGON_OFFSET_FILL);
glDisable(GL_POLYGON_OFFSET_FILL);
glDepthFunc(GL_LEQUAL);
break;
case ZMODE_XLU: