mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-03 11:13:44 +01:00
UI: Rebind the backbuffer when drawing UI.
In case it was unbound after copying to display, such as from screen recording. See #12305.
This commit is contained in:
1 parent
d0e2aa3a4f
commit
c430fee784
1 file changed
+2
@@ -1403,6 +1403,8 @@ void EmuScreen::render() {
|
||||
return;
|
||||
|
||||
if (hasVisibleUI()) {
|
||||
// In most cases, this should already be bound and a no-op.
|
||||
thin3d->BindFramebufferAsRenderTarget(nullptr, { RPAction::KEEP, RPAction::DONT_CARE, RPAction::DONT_CARE });
|
||||
cardboardDisableButton_->SetVisibility(g_Config.bEnableCardboardVR ? UI::V_VISIBLE : UI::V_GONE);
|
||||
screenManager()->getUIContext()->BeginFrame();
|
||||
renderUI();
|
||||
|
||||
Reference in new issue
Block a user