Merge pull request #9487 from LunaMoo/revert_mistake

Revert "Fix minor glitch with 5xBR effects."
This commit is contained in:
Henrik Rydgård 2017-03-23 08:43:49 +01:00 committed by GitHub
commit df533d8f48
2 changed files with 2 additions and 2 deletions

View File

@ -96,7 +96,7 @@ void main() {
vec2 pS = 1.0 / u_texelDelta.xy;
vec2 fp = fract(v_texcoord0.xy*pS.xy);
vec2 TexCoord_0 = v_texcoord0.xy-fp*u_texelDelta.xy;
vec2 TexCoord_0 = v_texcoord0.xy-fp*u_pixelDelta.xy;
vec2 dx = vec2(u_texelDelta.x,0.0);
vec2 dy = vec2(0.0,u_texelDelta.y);
vec2 y2 = dy + dy; vec2 x2 = dx + dx;

View File

@ -66,7 +66,7 @@ void main(){
vec2 pS = 1.0 / u_texelDelta.xy;
vec2 fp = fract(v_texcoord0.xy*pS.xy);
vec2 TexCoord_0 = v_texcoord0.xy-fp*u_texelDelta.xy;
vec2 TexCoord_0 = v_texcoord0.xy-fp*u_pixelDelta.xy;
vec2 dx = vec2(u_texelDelta.x,0.0);
vec2 dy = vec2(0.0,u_texelDelta.y);
vec2 y2 = dy + dy; vec2 x2 = dx + dx;