Fix shader code. Thanks Mesa!

On the other hand, the kind of shit fglrx
just lets through boggles the mind.
This commit is contained in:
Jonas Kulla 2013-10-02 15:00:17 +02:00
parent bb70c39811
commit 19c30e3ddd
5 changed files with 11 additions and 11 deletions

View file

@ -14,6 +14,6 @@ void main()
gl_Position = projMat * vec4(position, 0, 1);
v_texCoord = texCoord * texSizeInv;
v_blurCoord[0] = vec2(texCoord.x, texCoord.y-1) * texSizeInv;
v_blurCoord[1] = vec2(texCoord.x, texCoord.y+1) * texSizeInv;
v_blurCoord[0] = vec2(texCoord.x, texCoord.y-1.0) * texSizeInv;
v_blurCoord[1] = vec2(texCoord.x, texCoord.y+1.0) * texSizeInv;
}