diff options
| author | Leo Lam <leolino.lam@gmail.com> | 2017-08-10 17:10:26 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-08-10 17:10:26 +0800 |
| commit | e41a9905c01db496b6a4c2756e1814c7a4cffab0 (patch) | |
| tree | 2539056ddbbb6c5237072c0c456d2d39d2ba5522 /Source/Core/VideoBackends/OGL/TextureConverter.cpp | |
| parent | d0304c9b38faa2184c720173d22a42cd389aa21f (diff) | |
| parent | 1fc910b3ea9eafcc3cc5132bdfc51731ba5fa9fd (diff) | |
Merge pull request #5744 from JosJuice/remove-non-integer-irs
Remove non-integer IRs
Diffstat (limited to 'Source/Core/VideoBackends/OGL/TextureConverter.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/OGL/TextureConverter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoBackends/OGL/TextureConverter.cpp b/Source/Core/VideoBackends/OGL/TextureConverter.cpp index e9a3eaa94f..6c438b6a1f 100644 --- a/Source/Core/VideoBackends/OGL/TextureConverter.cpp +++ b/Source/Core/VideoBackends/OGL/TextureConverter.cpp @@ -230,10 +230,10 @@ static void EncodeToRamUsingShader(GLuint srcTexture, u8* destAddr, u32 dst_line glBindTexture(GL_TEXTURE_2D_ARRAY, srcTexture); // 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 (linearFilter || g_ActiveConfig.iEFBScale != SCALE_1X) + if (linearFilter || g_ActiveConfig.iEFBScale != 1) g_sampler_cache->BindLinearSampler(9); else g_sampler_cache->BindNearestSampler(9); |
