summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/D3D/PSTextureEncoder.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2017-07-03 16:32:02 +0200
committerJosJuice <josjuice@gmail.com>2017-08-08 12:09:50 +0200
commitf090a943190aead4d24f0cd4ba5ca32c08261706 (patch)
treedcc48692c54385f612bd591567c37e7dcd20c43b /Source/Core/VideoBackends/D3D/PSTextureEncoder.cpp
parenta25f7b9b4cba292ae6230cafe2497f73086e161b (diff)
Remove non-integer IRs
Diffstat (limited to 'Source/Core/VideoBackends/D3D/PSTextureEncoder.cpp')
-rw-r--r--Source/Core/VideoBackends/D3D/PSTextureEncoder.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoBackends/D3D/PSTextureEncoder.cpp b/Source/Core/VideoBackends/D3D/PSTextureEncoder.cpp
index 51a7dfda08..b89e812879 100644
--- a/Source/Core/VideoBackends/D3D/PSTextureEncoder.cpp
+++ b/Source/Core/VideoBackends/D3D/PSTextureEncoder.cpp
@@ -128,10 +128,10 @@ void PSTextureEncoder::Encode(u8* dst, const EFBCopyParams& params, u32 native_w
D3D::stateman->SetPixelConstants(m_encodeParams);
// We also linear filtering for both box filtering and downsampling higher resolutions to 1x
- // TODO: This only produces perfect downsampling for 1.5x and 2x IR, other resolution will
- // need more complex down filtering to average all pixels and produce the correct result.
+ // 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.
// Also, box filtering won't be correct for anything other than 1x IR
- if (scale_by_half || g_ActiveConfig.iEFBScale != SCALE_1X)
+ if (scale_by_half || g_ActiveConfig.iEFBScale != 1)
D3D::SetLinearCopySampler();
else
D3D::SetPointCopySampler();