mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-04 11:43:47 +01:00
Remove redundant call to SetColorUpdated
This commit is contained in:
1 parent
11dbae3457
commit
b47c9b6dd2
4 files changed
-12
No files matched your search
@@ -555,9 +555,6 @@ void DrawEngineVulkan::Flush() {
|
||||
// Note that since the alpha channel and the stencil channel are shared on the PSP,
|
||||
// when we clear alpha, we also clear stencil to the same value.
|
||||
draw_->Clear(mask, result.color, result.depth, result.color >> 24);
|
||||
if (clearColor || clearAlpha) {
|
||||
framebufferManager_->SetColorUpdated(gstate_c.skipDrawReason);
|
||||
}
|
||||
if (gstate_c.Use(GPU_USE_CLEAR_RAM_HACK) && gstate.isClearModeColorMask() && (gstate.isClearModeAlphaMask() || gstate.FrameBufFormat() == GE_FORMAT_565)) {
|
||||
int scissorX1 = gstate.getScissorX1();
|
||||
int scissorY1 = gstate.getScissorY1();
|
||||
|
||||
Reference in new issue
Block a user