Merge pull request #1418 from degasus/master

OGL: fix interpolation of PP shaders
This commit is contained in:
skidau 2014-10-30 12:49:21 +11:00
commit e0393be347
1 changed files with 2 additions and 0 deletions

View File

@ -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);
}