Skip to content

Commit

Permalink
[d3d11] Use nearest filter for ID3D11VideoContext scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
rbernon committed Apr 25, 2024
1 parent 469f5f8 commit f553af6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/d3d11/d3d11_video.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1334,7 +1334,7 @@ namespace dxvk {

void D3D11VideoContext::CreateSampler() {
DxvkSamplerCreateInfo samplerInfo;
samplerInfo.magFilter = VK_FILTER_LINEAR;
samplerInfo.magFilter = VK_FILTER_NEAREST;
samplerInfo.minFilter = VK_FILTER_LINEAR;
samplerInfo.mipmapMode = VK_SAMPLER_MIPMAP_MODE_NEAREST;
samplerInfo.mipmapLodBias = 0.0f;
Expand Down

0 comments on commit f553af6

Please sign in to comment.