mirror of
https://github.com/libretro/RetroArch
synced 2025-04-17 20:43:10 +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"))
|
!string_is_equal(settings->arrays.video_driver, "glcore"))
|
||||||
{
|
{
|
||||||
#if defined(HAVE_OPENGL_CORE)
|
#if defined(HAVE_OPENGL_CORE)
|
||||||
|
strcpy(settings->arrays.video_driver, "glcore");
|
||||||
current_video = &video_gl_core;
|
current_video = &video_gl_core;
|
||||||
RARCH_LOG("[Video]: Forcing \"glcore\" driver.\n");
|
RARCH_LOG("[Video]: Forcing \"glcore\" driver.\n");
|
||||||
#else
|
#else
|
||||||
|
strcpy(settings->arrays.video_driver, "gl");
|
||||||
current_video = &video_gl2;
|
current_video = &video_gl2;
|
||||||
RARCH_LOG("[Video]: Forcing \"gl\" driver.\n");
|
RARCH_LOG("[Video]: Forcing \"gl\" driver.\n");
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user