Skip to content

Commit

Permalink
GPU: Fix validation warning in D3D12 blit code
Browse files Browse the repository at this point in the history
  • Loading branch information
lmurray authored and slouken committed Dec 4, 2024
1 parent 45869d6 commit efb59bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gpu/d3d12/SDL_gpu_d3d12.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit efb59bd

Please sign in to comment.