gtk2/gdk/resources/glsl/gl3-texture-2d.vs.glsl
Juan Pablo Ugarte 5fa8def9df Use GLSL version 110 for OpenGL 2 shaders.
According to docs and Intel legacy drivers,
GLSL version 130 is for GL 3.0 not GL 2.0/2.1

Validated files with reference compiler from
https://www.khronos.org/opengles/sdk/tools/Reference-Compiler/
2016-11-01 11:58:16 -03:00

12 lines
126 B
GLSL

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