Linux: Stop OpenGL overriding Vulkan if both VK and OpenGL are enabled

This commit is contained in:
refractionpcsx2 2024-01-04 23:04:49 +00:00
parent e3e35d3bc6
commit 0fb234f3e4
1 changed files with 1 additions and 0 deletions

View File

@ -213,6 +213,7 @@ GSRendererType GSUtil::GetPreferredRenderer()
#endif
// Otherwise, whatever is available.
if (preferred_renderer == GSRendererType::Auto) // If it's still auto, VK wasn't selected.
#if defined(ENABLE_OPENGL)
preferred_renderer = GSRendererType::OGL;
#elif defined(ENABLE_VULKAN)