(menu) draw_frame - cleanups

This commit is contained in:
twinaphex 2014-09-29 14:41:24 +02:00
parent 295e83bfc0
commit 2e230fe9b4

View File

@ -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. */