Fix bubble shader with glsl < 330.

This commit is contained in:
vlj 2014-07-09 17:49:47 +02:00
parent 5ee410c139
commit 481a5bd0d0

View File

@ -21,8 +21,13 @@
uniform mat4 ModelViewProjectionMatrix;
uniform float time;
#if __VERSION__ >= 330
layout(location = 0) in vec3 Position;
layout(location = 3) in vec2 Texcoord;
#else
in vec3 Position;
in vec2 Texcoord;
#endif
out vec2 uv;
void main()