tests: Fix unreachable code warnings (#14993)

This commit is contained in:
RaceTheMaSe
2026-02-07 18:42:59 +01:00
committed by GitHub
parent 863912aa03
commit 7c7ffb9115
7 changed files with 21 additions and 22 deletions

View File

@@ -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);