Skip to content
Snippets Groups Projects
Commit bd45e7b3 authored by DarkGod's avatar DarkGod
Browse files

Fix crash on level 3 of Kor'Pul on some computers

parent bf3bdad9
No related branches found
No related tags found
No related merge requests found
...@@ -24,7 +24,7 @@ void main(void) ...@@ -24,7 +24,7 @@ void main(void)
sample += texture2D(tex, vec2(gl_TexCoord[0].xy+vec2(float(i)*offset.x, float(j)*offset.y))); sample += texture2D(tex, vec2(gl_TexCoord[0].xy+vec2(float(i)*offset.x, float(j)*offset.y)));
} }
} }
sample /= (float(blursize)*2.0) * (float(blursize)*2.0)); sample /= (float(blursize)*2.0) * (float(blursize)*2.0);
float a = 1.0-center.a; float a = 1.0-center.a;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment