mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-04 14:49:40 +00:00
GPU: Prefer D3D12 over Vulkan when available
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user