From 46d170e5fbd7b9533be00405452f5ea22f0f04c8 Mon Sep 17 00:00:00 2001 From: S2S Date: Mon, 18 May 2020 17:50:10 +0200 Subject: [PATCH] Fix error introduced by c14ae30 --- .../OpenGLContext/GLSL/glsl_CombinerProgramBuilder.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Graphics/OpenGLContext/GLSL/glsl_CombinerProgramBuilder.cpp b/src/Graphics/OpenGLContext/GLSL/glsl_CombinerProgramBuilder.cpp index 83cd6b6d..e79361df 100644 --- a/src/Graphics/OpenGLContext/GLSL/glsl_CombinerProgramBuilder.cpp +++ b/src/Graphics/OpenGLContext/GLSL/glsl_CombinerProgramBuilder.cpp @@ -1233,11 +1233,6 @@ public: " lowp vec4 c01 = texelFetch(tex, ivec2(tcData[1]), 0); \\\n" " lowp vec4 c10 = texelFetch(tex, ivec2(tcData[2]), 0); \\\n" " lowp vec4 c11 = texelFetch(tex, ivec2(tcData[3]), 0); \\\n" - " lowp vec2 texSize = vec2(textureSize(tex,0)); \\\n" - " lowp vec4 c00 = texture(tex, (tcData[0] + 0.5)/texSize); \\\n" - " lowp vec4 c01 = texture(tex, (tcData[1] + 0.5)/texSize); \\\n" - " lowp vec4 c10 = texture(tex, (tcData[2] + 0.5)/texSize); \\\n" - " lowp vec4 c11 = texture(tex, (tcData[3] + 0.5)/texSize); \\\n" " if(uEnableAlphaTest == 1){ \\\n" // Calculate premultiplied color values " c00.rgb *= c00.a; \\\n" " c01.rgb *= c01.a; \\\n"