From 612f569c824b79b4787d45e5ddcd40928f8ea051 Mon Sep 17 00:00:00 2001 From: LunaMoo Date: Wed, 14 Oct 2015 19:16:48 +0200 Subject: [PATCH] Extra check for filtering in case of game change with same resolution. --- GPU/GLES/Framebuffer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/GPU/GLES/Framebuffer.cpp b/GPU/GLES/Framebuffer.cpp index e0439a8968..e7aa54a609 100644 --- a/GPU/GLES/Framebuffer.cpp +++ b/GPU/GLES/Framebuffer.cpp @@ -172,6 +172,7 @@ void FramebufferManager::CompileDraw2DProgram() { if (shaderInfo) { postShaderAtOutputResolution_ = shaderInfo->outputResolution; + postShaderIsUpscalingFilter_ = shaderInfo->isUpscalingFilter; postShaderProgram_ = glsl_create(shaderInfo->vertexShaderFile.c_str(), shaderInfo->fragmentShaderFile.c_str(), &errorString); if (!postShaderProgram_) { // DO NOT turn this into a report, as it will pollute our logs with all kinds of