From 89c6bc5f5022e71433a9e4eb1a2edc6d79be71f2 Mon Sep 17 00:00:00 2001
From: Evan Hemsley <[EMAIL REDACTED]>
Date: Fri, 20 Sep 2024 13:42:15 -0700
Subject: [PATCH] Prefer Vulkan even on Windows (#10912)
---
src/gpu/SDL_gpu.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/gpu/SDL_gpu.c b/src/gpu/SDL_gpu.c
index 935137fea6a3b..1a1b1223f540d 100644
--- a/src/gpu/SDL_gpu.c
+++ b/src/gpu/SDL_gpu.c
@@ -155,12 +155,12 @@ static const SDL_GPUBootstrap *backends[] = {
#ifdef SDL_GPU_METAL
&MetalDriver,
#endif
-#ifdef SDL_GPU_D3D12
- &D3D12Driver,
-#endif
#ifdef SDL_GPU_VULKAN
&VulkanDriver,
#endif
+#ifdef SDL_GPU_D3D12
+ &D3D12Driver,
+#endif
#ifdef SDL_GPU_D3D11
&D3D11Driver,
#endif