mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-05 08:36:17 +00:00
Only unbind FBOs if they're being used.
This commit is contained in:
parent
85afa9c036
commit
7d1ddced9f
@ -144,7 +144,8 @@ void EmuScreen::update(InputState &input)
|
||||
__CtrlSetAnalog(input.pad_lstick_x, input.pad_lstick_y);
|
||||
|
||||
if (input.pad_buttons_down & (PAD_BUTTON_MENU | PAD_BUTTON_BACK)) {
|
||||
fbo_unbind();
|
||||
if (g_Config.bBufferedRendering)
|
||||
fbo_unbind();
|
||||
screenManager()->push(new InGameMenuScreen());
|
||||
}
|
||||
}
|
||||
@ -172,7 +173,8 @@ void EmuScreen::render()
|
||||
coreState = CORE_RUNNING;
|
||||
}
|
||||
|
||||
fbo_unbind();
|
||||
if (g_Config.bBufferedRendering)
|
||||
fbo_unbind();
|
||||
|
||||
UIShader_Prepare();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user