mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 14:43:20 +00:00
GPU: Fix validation warning in D3D12 blit code
This commit is contained in:
parent
45869d6177
commit
efb59bd0bf
1 changed files with 1 additions and 1 deletions
|
|
@ -7940,7 +7940,7 @@ static void D3D12_INTERNAL_InitBlitResources(
|
|||
samplerCreateInfo.min_lod = 0;
|
||||
samplerCreateInfo.max_lod = 1000;
|
||||
samplerCreateInfo.max_anisotropy = 1.0f;
|
||||
samplerCreateInfo.compare_op = SDL_GPU_COMPAREOP_ALWAYS;
|
||||
samplerCreateInfo.compare_op = SDL_GPU_COMPAREOP_NEVER;
|
||||
|
||||
renderer->blitNearestSampler = D3D12_CreateSampler(
|
||||
(SDL_GPURenderer *)renderer,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue