mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-05 01:24:14 +01:00
[d3d11] Use nearest filter for ID3D11VideoContext scaling
This commit is contained in:
parent
b99d42c688
commit
4333ee872d
@ -1334,7 +1334,7 @@ namespace dxvk {
|
|||||||
|
|
||||||
void D3D11VideoContext::CreateSampler() {
|
void D3D11VideoContext::CreateSampler() {
|
||||||
DxvkSamplerCreateInfo samplerInfo;
|
DxvkSamplerCreateInfo samplerInfo;
|
||||||
samplerInfo.magFilter = VK_FILTER_LINEAR;
|
samplerInfo.magFilter = VK_FILTER_NEAREST;
|
||||||
samplerInfo.minFilter = VK_FILTER_LINEAR;
|
samplerInfo.minFilter = VK_FILTER_LINEAR;
|
||||||
samplerInfo.mipmapMode = VK_SAMPLER_MIPMAP_MODE_NEAREST;
|
samplerInfo.mipmapMode = VK_SAMPLER_MIPMAP_MODE_NEAREST;
|
||||||
samplerInfo.mipmapLodBias = 0.0f;
|
samplerInfo.mipmapLodBias = 0.0f;
|
||||||
|
Loading…
Reference in New Issue
Block a user