Extra check for filtering in case of game change with same resolution.

This commit is contained in:
LunaMoo authored and Luna committed 2015-10-14 19:16:48 +02:00
1 parent 9543250863
commit 612f569c82
1 file changed
+1
+1
View File
@@ -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