From a639e6163df87cd1106bde3c0aeb0c545920c827 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Andr=C3=A9=20Santoni?= Date: Mon, 20 Oct 2014 21:26:55 +0200 Subject: [PATCH] (Menu) Performance improvement, prevent drawing the menu texture when using a GL menu driver --- frontend/menu/menu_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/menu/menu_common.c b/frontend/menu/menu_common.c index c577ae03a4..61722ed8a4 100644 --- a/frontend/menu/menu_common.c +++ b/frontend/menu/menu_common.c @@ -26,7 +26,7 @@ static void draw_frame(void) if (driver.video_data && driver.video_poke && driver.video_poke->set_texture_enable) 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) {