Skip to content

Commit

Permalink
Linux: Stop OpenGL overriding Vulkan if both VK and OpenGL are enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
refractionpcsx2 committed Jan 5, 2024
1 parent e3e35d3 commit 0fb234f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pcsx2/GS/GSUtil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0fb234f

Please sign in to comment.