gtk2/gdk/resources/glsl/gl2-texture-rect.vs.glsl
Juan Pablo Ugarte c607d51890 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 15:42:46 -03:00

12 lines
144 B
GLSL

#version 110
attribute vec2 position;
attribute vec2 uv;
varying vec2 vUv;
void main() {
gl_Position = vec4(position, 0, 1);
vUv = uv;
}