mirror of
https://github.com/libretro/RetroArch
synced 2025-02-26 15:39:55 +00:00
(RGUI) Add checks in case set_rgui_texture is not bound
This commit is contained in:
parent
275eef09c1
commit
e5ca995fac
@ -1751,9 +1751,13 @@ bool menu_iterate(void)
|
||||
input_entry_ret = rgui_iterate(rgui, action);
|
||||
|
||||
// draw last frame for loading messages
|
||||
driver.video_poke->set_rgui_texture(driver.video_data, menu_framebuf);
|
||||
if (driver.video_poke->set_rgui_texture)
|
||||
driver.video_poke->set_rgui_texture(driver.video_data, menu_framebuf);
|
||||
|
||||
rarch_render_cached_frame();
|
||||
driver.video_poke->set_rgui_texture(driver.video_data, NULL);
|
||||
|
||||
if (driver.video_poke->set_rgui_texture)
|
||||
driver.video_poke->set_rgui_texture(driver.video_data, NULL);
|
||||
|
||||
input_process_ret = menu_input_process(NULL, NULL);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user