mirror of https://github.com/PCSX2/pcsx2.git
Linux: Stop OpenGL overriding Vulkan if both VK and OpenGL are enabled
This commit is contained in:
parent
e3e35d3bc6
commit
0fb234f3e4
|
@ -213,6 +213,7 @@ GSRendererType GSUtil::GetPreferredRenderer()
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Otherwise, whatever is available.
|
// Otherwise, whatever is available.
|
||||||
|
if (preferred_renderer == GSRendererType::Auto) // If it's still auto, VK wasn't selected.
|
||||||
#if defined(ENABLE_OPENGL)
|
#if defined(ENABLE_OPENGL)
|
||||||
preferred_renderer = GSRendererType::OGL;
|
preferred_renderer = GSRendererType::OGL;
|
||||||
#elif defined(ENABLE_VULKAN)
|
#elif defined(ENABLE_VULKAN)
|
||||||
|
|
Loading…
Reference in New Issue