diff options
| author | degasus <wickmarkus@web.de> | 2014-10-27 21:15:32 +0100 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2014-10-27 21:15:32 +0100 |
| commit | ce9ef2c438c4c5b0460554aa361bc0ab156174d1 (patch) | |
| tree | 390715fc3511fbadcccd703d619fc7f6420a46ed /Source/Core/VideoBackends/OGL/PostProcessing.cpp | |
| parent | c76b8042589352a23830df0b2f48eb77d82fd683 (diff) | |
OGL: fix interpolation of PP shaders
Diffstat (limited to 'Source/Core/VideoBackends/OGL/PostProcessing.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/OGL/PostProcessing.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/VideoBackends/OGL/PostProcessing.cpp b/Source/Core/VideoBackends/OGL/PostProcessing.cpp index 519406cb0f..f3017c326d 100644 --- a/Source/Core/VideoBackends/OGL/PostProcessing.cpp +++ b/Source/Core/VideoBackends/OGL/PostProcessing.cpp @@ -125,6 +125,8 @@ void OpenGLPostProcessing::BlitFromTexture(TargetRectangle src, TargetRectangle glActiveTexture(GL_TEXTURE0+9); glBindTexture(GL_TEXTURE_2D, src_texture); + glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); + glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); glDrawArrays(GL_TRIANGLE_STRIP, 0, 4); } |
