1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-03 13:24:20 +01:00

[d3d11] Use nearest filter for ID3D11VideoContext scaling

This commit is contained in:
Rémi Bernon 2024-04-24 14:02:46 +02:00 committed by Philip Rebohle
parent b99d42c688
commit 4333ee872d

View File

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