From 98c182d174adfe8bd54655e52d81038ae1f8e3af Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 17 Aug 2015 05:07:25 +0200 Subject: [PATCH] When MENU_VIDEO_DRIVER_OPENGL is set for menu driver, check if the video driver is really GL --- menu/menu_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/menu/menu_driver.c b/menu/menu_driver.c index 10f03b58c8..4f7ff3e4d7 100644 --- a/menu/menu_driver.c +++ b/menu/menu_driver.c @@ -176,7 +176,7 @@ void init_menu(void) case MENU_VIDEO_DRIVER_DIRECT3D: break; case MENU_VIDEO_DRIVER_OPENGL: - if (video_driver && !strcmp(video_driver, "d3d")) + if (video_driver && (strcmp(video_driver, "gl") != 0)) { int i = find_menu_driver_internal("rgui"); if (i >= 0)