mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-09 11:26:29 +00:00
Changed GPU driver names to match renderer driver names
Fixes https://github.com/libsdl-org/SDL/issues/10650
This commit is contained in:
@@ -6125,7 +6125,7 @@ tryCreateDevice:
|
|||||||
}
|
}
|
||||||
|
|
||||||
SDL_GPUBootstrap D3D11Driver = {
|
SDL_GPUBootstrap D3D11Driver = {
|
||||||
"D3D11",
|
"direct3d11",
|
||||||
SDL_GPU_DRIVER_D3D11,
|
SDL_GPU_DRIVER_D3D11,
|
||||||
SDL_GPU_SHADERFORMAT_DXBC,
|
SDL_GPU_SHADERFORMAT_DXBC,
|
||||||
D3D11_PrepareDriver,
|
D3D11_PrepareDriver,
|
||||||
|
@@ -8185,7 +8185,7 @@ static SDL_GPUDevice *D3D12_CreateDevice(bool debugMode, bool preferLowPower, SD
|
|||||||
}
|
}
|
||||||
|
|
||||||
SDL_GPUBootstrap D3D12Driver = {
|
SDL_GPUBootstrap D3D12Driver = {
|
||||||
"D3D12",
|
"direct3d12",
|
||||||
SDL_GPU_DRIVER_D3D12,
|
SDL_GPU_DRIVER_D3D12,
|
||||||
SDL_GPU_SHADERFORMAT_DXIL,
|
SDL_GPU_SHADERFORMAT_DXIL,
|
||||||
D3D12_PrepareDriver,
|
D3D12_PrepareDriver,
|
||||||
|
@@ -3974,7 +3974,7 @@ static SDL_GPUDevice *METAL_CreateDevice(bool debugMode, bool preferLowPower, SD
|
|||||||
}
|
}
|
||||||
|
|
||||||
SDL_GPUBootstrap MetalDriver = {
|
SDL_GPUBootstrap MetalDriver = {
|
||||||
"Metal",
|
"metal",
|
||||||
SDL_GPU_DRIVER_METAL,
|
SDL_GPU_DRIVER_METAL,
|
||||||
SDL_GPU_SHADERFORMAT_MSL | SDL_GPU_SHADERFORMAT_METALLIB,
|
SDL_GPU_SHADERFORMAT_MSL | SDL_GPU_SHADERFORMAT_METALLIB,
|
||||||
METAL_PrepareDriver,
|
METAL_PrepareDriver,
|
||||||
|
@@ -11788,7 +11788,7 @@ static SDL_GPUDevice *VULKAN_CreateDevice(bool debugMode, bool preferLowPower, S
|
|||||||
}
|
}
|
||||||
|
|
||||||
SDL_GPUBootstrap VulkanDriver = {
|
SDL_GPUBootstrap VulkanDriver = {
|
||||||
"Vulkan",
|
"vulkan",
|
||||||
SDL_GPU_DRIVER_VULKAN,
|
SDL_GPU_DRIVER_VULKAN,
|
||||||
SDL_GPU_SHADERFORMAT_SPIRV,
|
SDL_GPU_SHADERFORMAT_SPIRV,
|
||||||
VULKAN_PrepareDriver,
|
VULKAN_PrepareDriver,
|
||||||
|
Reference in New Issue
Block a user