[drape] Missing changes in shader.

This commit is contained in:
Dmitry Kunin 2014-01-15 17:47:11 +03:00 committed by Alex Zolotarev
parent 7d05e80c81
commit 2bf457fcc4

View file

@ -1,10 +1,9 @@
attribute vec2 position;
attribute float depth;
attribute vec4 position;
uniform mat4 modelView;
uniform mat4 projection;
void main(void)
{
gl_Position = vec4(position, depth, 1.0) * modelView * projection;
gl_Position = position * modelView * projection;
}