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

10 lines
120 B
GLSL

#version 110
varying vec2 vUv;
uniform sampler2DRect map;
void main() {
gl_FragColor = texture2DRect (map, vUv);
}