diff options
| author | Anthony <Helios747@users.noreply.github.com> | 2017-11-06 23:10:53 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-06 23:10:53 -0800 |
| commit | d378811271a75d4b6454c157b1a2e6000ec425d1 (patch) | |
| tree | 23046d5c92b450a76c0f0e62e78ba4a98cb8d1c0 /Source/Core/VideoBackends/D3D/PSTextureEncoder.cpp | |
| parent | 66ad40074ddde55b9802b18e38a6a2b8390cf7dd (diff) | |
| parent | a310cbec8e7dfa18b22d53dc45a47757a97c827d (diff) | |
Merge pull request #6165 from JosJuice/auto-ir-handling
Fix incorrect handling of auto IR
Diffstat (limited to 'Source/Core/VideoBackends/D3D/PSTextureEncoder.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/D3D/PSTextureEncoder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/D3D/PSTextureEncoder.cpp b/Source/Core/VideoBackends/D3D/PSTextureEncoder.cpp index 6043da5c78..9b24783f6a 100644 --- a/Source/Core/VideoBackends/D3D/PSTextureEncoder.cpp +++ b/Source/Core/VideoBackends/D3D/PSTextureEncoder.cpp @@ -131,7 +131,7 @@ void PSTextureEncoder::Encode(u8* dst, const EFBCopyParams& params, u32 native_w // 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 != 1) + if (scale_by_half || g_renderer->GetEFBScale() != 1) D3D::SetLinearCopySampler(); else D3D::SetPointCopySampler(); |
