fix vertex shader positioning

This commit is contained in:
josh committed 2012-12-01 07:48:06 -05:00
1 parent c7e0b9696d
commit 490f8973d2
2 files changed
+1 -3

No files matched your search

+1 -1
View File
@@ -10,6 +10,6 @@ varying vec2 pos_2d_i;
void main()
{
gl_Position = projection *
(modelview * vec4(pos, 0, 1) + vec4(offset, 0, 1));
(modelview * vec4(pos, 0, 1) + vec4(offset, 0, 0));
pos_2d_i = pos + offset;
}