mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
When MENU_VIDEO_DRIVER_OPENGL is set for menu driver, check
if the video driver is really GL
This commit is contained in:
parent
dc73edadcf
commit
98c182d174
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user