gtk2/gdk/resources/glsl/gl2-texture-2d.fs.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

10 lines
112 B
GLSL

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