summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Vulkan/TextureConverter.cpp
diff options
context:
space:
mode:
authorAnthony <Helios747@users.noreply.github.com>2017-11-06 23:10:53 -0800
committerGitHub <noreply@github.com>2017-11-06 23:10:53 -0800
commitd378811271a75d4b6454c157b1a2e6000ec425d1 (patch)
tree23046d5c92b450a76c0f0e62e78ba4a98cb8d1c0 /Source/Core/VideoBackends/Vulkan/TextureConverter.cpp
parent66ad40074ddde55b9802b18e38a6a2b8390cf7dd (diff)
parenta310cbec8e7dfa18b22d53dc45a47757a97c827d (diff)
Merge pull request #6165 from JosJuice/auto-ir-handling
Fix incorrect handling of auto IR
Diffstat (limited to 'Source/Core/VideoBackends/Vulkan/TextureConverter.cpp')
-rw-r--r--Source/Core/VideoBackends/Vulkan/TextureConverter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/Vulkan/TextureConverter.cpp b/Source/Core/VideoBackends/Vulkan/TextureConverter.cpp
index 2ff6f34c33..75b4a01f4c 100644
--- a/Source/Core/VideoBackends/Vulkan/TextureConverter.cpp
+++ b/Source/Core/VideoBackends/Vulkan/TextureConverter.cpp
@@ -250,7 +250,7 @@ void TextureConverter::EncodeTextureToMemory(VkImageView src_texture, u8* dest_p
// We also linear filtering for both box filtering and downsampling higher resolutions to 1x
// TODO: This only produces perfect downsampling for 2x IR, other resolutions will need more
// complex down filtering to average all pixels and produce the correct result.
- bool linear_filter = (scale_by_half && !params.depth) || g_ActiveConfig.iEFBScale != 1;
+ bool linear_filter = (scale_by_half && !params.depth) || g_renderer->GetEFBScale() != 1;
draw.SetPSSampler(0, src_texture, linear_filter ? g_object_cache->GetLinearSampler() :
g_object_cache->GetPointSampler());