File: blit.frag

package info (click to toggle)
megapixels 1.8.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,848 kB
  • sloc: ansic: 6,981; xml: 326; sh: 61; makefile: 3
file content (13 lines) | stat: -rw-r--r-- 168 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifdef GL_ES
precision mediump float;
#endif

uniform sampler2D texture;

varying vec2 uv;

void
main()
{
        gl_FragColor = vec4(texture2D(texture, uv).rgb, 1);
}