diff --git a/data/shaders/bubble.vert b/data/shaders/bubble.vert index fb2962e6a..88e0fa44b 100644 --- a/data/shaders/bubble.vert +++ b/data/shaders/bubble.vert @@ -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()