gtk2/gdk/resources/glsl/gl3-texture-2d.vs.glsl
Emmanuele Bassi bfcd062e8e Use GLSL 3.30 shaders
We currently ask for anything above 3.2 GL contexts, but we're still
using GLSL 1.50 shaders all over the place. If a GL driver supports GL
3.2+ and GLSL 1.50 only then we'd be in trouble, but the chances of that
happening are really small.
2019-03-27 16:03:43 +00:00

12 lines
126 B
GLSL

#version 330
in vec2 position;
in vec2 uv;
out vec2 vUv;
void main() {
gl_Position = vec4(position, 0, 1);
vUv = uv;
}