mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-11 11:35:37 +00:00
tests: Fix unreachable code warnings (#14993)
This commit is contained in:
@@ -2795,7 +2795,6 @@ static bool D3D12_SetDrawState(SDL_Renderer *renderer, const SDL_RenderCommand *
|
||||
break;
|
||||
default:
|
||||
return SDL_SetError("[direct3d12] Trying to set a sampler for a shader which doesn't have one");
|
||||
break;
|
||||
}
|
||||
|
||||
ID3D12GraphicsCommandList2_SetGraphicsRootDescriptorTable(rendererData->commandList, tableIndex, GPUHandle);
|
||||
|
||||
Reference in New Issue
Block a user