GPU: Prefer D3D12 over Vulkan when available

This commit is contained in:
Evan Hemsley
2025-12-01 17:50:23 -05:00
committed by GitHub
parent c1db2b4bb0
commit 2b1904a849
+3 -3
View File
@@ -318,11 +318,11 @@ static const SDL_GPUBootstrap *backends[] = {
#ifdef SDL_GPU_METAL
&MetalDriver,
#endif
#ifdef SDL_GPU_VULKAN
&VulkanDriver,
#endif
#ifdef SDL_GPU_D3D12
&D3D12Driver,
#endif
#ifdef SDL_GPU_VULKAN
&VulkanDriver,
#endif
NULL
};