gtk/gdk/resources/glsl/gl3-texture-rect.fs.glsl
Emmanuele Bassi 55537cccbd gdk: Move GLSL shaders into GResource
Having the shaders inlined as C strings makes them harder to edit and
maintain.
2016-04-25 12:29:36 +01:00

10 lines
120 B
GLSL

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