From 0fb234f3e4bb55221c89a0b3cd47cc046acfccf5 Mon Sep 17 00:00:00 2001 From: refractionpcsx2 Date: Thu, 4 Jan 2024 23:04:49 +0000 Subject: [PATCH] Linux: Stop OpenGL overriding Vulkan if both VK and OpenGL are enabled --- pcsx2/GS/GSUtil.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/pcsx2/GS/GSUtil.cpp b/pcsx2/GS/GSUtil.cpp index d242f9373495e..39f6da6a0bfc3 100644 --- a/pcsx2/GS/GSUtil.cpp +++ b/pcsx2/GS/GSUtil.cpp @@ -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)