mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Properly changing video driver name in settings when a core forces one.
This commit is contained in:
parent
eed65a64b2
commit
b6e6b78843
@ -19035,9 +19035,11 @@ static bool video_driver_find_driver(void)
|
||||
!string_is_equal(settings->arrays.video_driver, "glcore"))
|
||||
{
|
||||
#if defined(HAVE_OPENGL_CORE)
|
||||
strcpy(settings->arrays.video_driver, "glcore");
|
||||
current_video = &video_gl_core;
|
||||
RARCH_LOG("[Video]: Forcing \"glcore\" driver.\n");
|
||||
#else
|
||||
strcpy(settings->arrays.video_driver, "gl");
|
||||
current_video = &video_gl2;
|
||||
RARCH_LOG("[Video]: Forcing \"gl\" driver.\n");
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user