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

Disable CULL_BOTH for NON microcodes.

Need to find better criteria.

Fixed Black screen in mortal kombat 4 #1929
This commit is contained in:
Sergey Lipskiy 2018-10-13 19:25:32 +07:00
parent 35099ec8cb
commit e4b6224218

View File

@ -101,7 +101,7 @@ void GraphicsDrawer::_updateCullFace() const
if (gSP.geometryMode & G_CULL_BOTH) {
gfxContext.enable(enable::CULL_FACE, true);
if ((gSP.geometryMode & G_CULL_BOTH) == G_CULL_BOTH)
if ((gSP.geometryMode & G_CULL_BOTH) == G_CULL_BOTH && !GBI.isNoN())
gfxContext.cullFace(cullMode::FRONT_AND_BACK);
else if ((gSP.geometryMode & G_CULL_BACK) == G_CULL_BACK)
gfxContext.cullFace(cullMode::BACK);