mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-15 06:50:32 +00:00
(Menu) Performance improvement, prevent drawing the menu texture when using a GL menu driver
This commit is contained in:
parent
49bffb85db
commit
a639e6163d
@ -26,7 +26,7 @@ static void draw_frame(void)
|
|||||||
if (driver.video_data && driver.video_poke &&
|
if (driver.video_data && driver.video_poke &&
|
||||||
driver.video_poke->set_texture_enable)
|
driver.video_poke->set_texture_enable)
|
||||||
driver.video_poke->set_texture_enable(driver.video_data,
|
driver.video_poke->set_texture_enable(driver.video_data,
|
||||||
true, MENU_TEXTURE_FULLSCREEN);
|
driver.menu_ctx && driver.menu_ctx->set_texture, MENU_TEXTURE_FULLSCREEN);
|
||||||
|
|
||||||
if (!g_settings.menu.pause_libretro)
|
if (!g_settings.menu.pause_libretro)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user