mirror of
https://github.com/libretro/RetroArch
synced 2025-04-17 11:43:00 +00:00
Default to gl instead of vulkan.
If the video_driver is set incorrectly it will default to vulkan instead of gl. However its possible to have RetroArch built with vulkan even with no working vulkan drivers and this will cause a segfault. Defaulting to gl again should be a safer default which should crash for fewer users. Fixes https://github.com/libretro/RetroArch/issues/5568.
This commit is contained in:
parent
b095511e97
commit
d8ea30881d
@ -262,12 +262,12 @@ struct aspect_ratio_elem aspectratio_lut[ASPECT_RATIO_END] = {
|
||||
};
|
||||
|
||||
static const video_driver_t *video_drivers[] = {
|
||||
#ifdef HAVE_VULKAN
|
||||
&video_vulkan,
|
||||
#endif
|
||||
#ifdef HAVE_OPENGL
|
||||
&video_gl,
|
||||
#endif
|
||||
#ifdef HAVE_VULKAN
|
||||
&video_vulkan,
|
||||
#endif
|
||||
#ifdef HAVE_METAL
|
||||
&video_metal,
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user