mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +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:
parent
35099ec8cb
commit
e4b6224218
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user