Remove unneeded shader uniform

This commit is contained in:
Jonas Kulla 2013-09-28 15:41:09 +02:00
parent 0717003114
commit fa77726388
1 changed files with 1 additions and 2 deletions

View File

@ -2,7 +2,6 @@
uniform mat4 projMat;
uniform vec2 texSizeInv;
uniform float texOffsetX;
uniform vec2 translation;
attribute vec2 position;
@ -14,5 +13,5 @@ void main()
{
gl_Position = projMat * vec4(position + translation, 0, 1);
v_texCoord = vec2(texCoord.x + texOffsetX, texCoord.y) * texSizeInv;
v_texCoord = texCoord * texSizeInv;
}