gtk/gdk/resources/glsl/gl2-texture-rect.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
144 B
GLSL

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