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
|
#ifdef SDL_GPU_METAL
|
||||||
&MetalDriver,
|
&MetalDriver,
|
||||||
#endif
|
#endif
|
||||||
#ifdef SDL_GPU_VULKAN
|
|
||||||
&VulkanDriver,
|
|
||||||
#endif
|
|
||||||
#ifdef SDL_GPU_D3D12
|
#ifdef SDL_GPU_D3D12
|
||||||
&D3D12Driver,
|
&D3D12Driver,
|
||||||
|
#endif
|
||||||
|
#ifdef SDL_GPU_VULKAN
|
||||||
|
&VulkanDriver,
|
||||||
#endif
|
#endif
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user