mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix crash when toggling Skip buffer effects while paused
This commit is contained in:
parent
da5e29f5dc
commit
337de548b8
1 changed files with 3 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue