Browse Source

Prefer Vulkan even on Windows (#10912)

Evan Hemsley 10 months ago
parent
commit
89c6bc5f50
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/gpu/SDL_gpu.c

+ 3 - 3
src/gpu/SDL_gpu.c

@@ -155,12 +155,12 @@ static const SDL_GPUBootstrap *backends[] = {
 #ifdef SDL_GPU_METAL
 #ifdef SDL_GPU_METAL
     &MetalDriver,
     &MetalDriver,
 #endif
 #endif
-#ifdef SDL_GPU_D3D12
-    &D3D12Driver,
-#endif
 #ifdef SDL_GPU_VULKAN
 #ifdef SDL_GPU_VULKAN
     &VulkanDriver,
     &VulkanDriver,
 #endif
 #endif
+#ifdef SDL_GPU_D3D12
+    &D3D12Driver,
+#endif
 #ifdef SDL_GPU_D3D11
 #ifdef SDL_GPU_D3D11
     &D3D11Driver,
     &D3D11Driver,
 #endif
 #endif