Vulkan: Fix AA when rescaling.

This commit is contained in:
Fernando Sahmkow 2021-07-27 00:15:27 +02:00
parent 0e8cf38f39
commit 117f8ee7a4

View file

@ -614,7 +614,7 @@ void VKBlitScreen::CreateSampler() {
.pNext = nullptr, .pNext = nullptr,
.flags = 0, .flags = 0,
.magFilter = VK_FILTER_LINEAR, .magFilter = VK_FILTER_LINEAR,
.minFilter = VK_FILTER_NEAREST, .minFilter = VK_FILTER_LINEAR,
.mipmapMode = VK_SAMPLER_MIPMAP_MODE_LINEAR, .mipmapMode = VK_SAMPLER_MIPMAP_MODE_LINEAR,
.addressModeU = VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER, .addressModeU = VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER,
.addressModeV = VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER, .addressModeV = VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER,