mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 21:39:52 +00:00
Merge pull request #11594 from unknownbrackets/cullmode
GPU: Correctly flush on cull mode change
This commit is contained in:
commit
d08a2eed6d
@ -1706,9 +1706,12 @@ bail:
|
||||
currentList->pc += cmdCount * 4;
|
||||
// flush back cull mode
|
||||
if (cullMode != gstate.getCullMode()) {
|
||||
// We rewrote everything to the old cull mode, so flush first.
|
||||
drawEngineCommon_->DispatchFlush();
|
||||
|
||||
// Now update things for next time.
|
||||
gstate.cmdmem[GE_CMD_CULL] ^= 1;
|
||||
gstate_c.Dirty(DIRTY_RASTER_STATE);
|
||||
drawEngineCommon_->DispatchFlush();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user