mirror of https://github.com/libsdl-org/SDL.git
GPU: Fix validation warning in D3D12 blit code
This commit is contained in:
parent
45869d6177
commit
efb59bd0bf
|
|
@ -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…
Reference in New Issue