mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 06:44:27 +00:00
(menu) draw_frame - cleanups
This commit is contained in:
parent
295e83bfc0
commit
2e230fe9b4
@ -27,11 +27,9 @@ static void draw_frame(bool enable)
|
||||
driver.video_poke->set_texture_enable(driver.video_data,
|
||||
enable, MENU_TEXTURE_FULLSCREEN);
|
||||
|
||||
if (!enable)
|
||||
if (!enable || !driver.video)
|
||||
return;
|
||||
|
||||
if (driver.video)
|
||||
{
|
||||
if (!g_settings.menu.pause_libretro)
|
||||
{
|
||||
if (g_extern.main_is_init && !g_extern.libretro_dummy)
|
||||
@ -46,7 +44,6 @@ static void draw_frame(bool enable)
|
||||
}
|
||||
|
||||
rarch_render_cached_frame();
|
||||
}
|
||||
}
|
||||
|
||||
/* Update menu state which depends on config. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user