mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-30 19:24:23 +01:00
Fix crash when toggling Skip buffer effects while paused
This commit is contained in:
1 parent
da5e29f5dc
commit
337de548b8
1 file changed
+3
-2
+3
-2
@@ -1352,8 +1352,9 @@ ScreenRenderFlags EmuScreen::render(ScreenRenderMode mode) {
|
||||
PSP_BeginHostFrame();
|
||||
gpu->CopyDisplayToOutput(true);
|
||||
PSP_EndHostFrame();
|
||||
} else {
|
||||
draw->BindFramebufferAsRenderTarget(nullptr, { RPAction::CLEAR, RPAction::CLEAR, RPAction::CLEAR, }, "EmuScreen_Stepping");
|
||||
}
|
||||
if (!gpu->PresentedThisFrame()) {
|
||||
draw->BindFramebufferAsRenderTarget(nullptr, { RPAction::CLEAR, RPAction::CLEAR, RPAction::CLEAR, }, "EmuScreen_Behind");
|
||||
}
|
||||
// Need to make sure the UI texture is available, for "darken".
|
||||
screenManager()->getUIContext()->BeginFrame();
|
||||
|
||||
Reference in new issue
Block a user