Fix bubble shader with glsl < 330.
This commit is contained in:
parent
5ee410c139
commit
481a5bd0d0
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user