Remove redundant call to SetColorUpdated

This commit is contained in:
Henrik Rydgård committed 2024-12-15 13:44:35 +01:00
1 parent 11dbae3457
commit b47c9b6dd2
4 files changed
-12

No files matched your search

-3
View File
@@ -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();