src/opengl/util/painter_nomask.glsl
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Wed, 18 Aug 2010 10:37:55 +0300
changeset 33 3e2da88830cd
parent 0 1918ee327afb
permissions -rw-r--r--
Revision: 201031 Kit: 201033

uniform sampler2D dst_texture;
uniform vec2 inv_dst_size;

void main()
{
    vec4 dst = texture2D(dst_texture, gl_FragCoord.xy * inv_dst_size);

    gl_FragColor = composite(brush(), dst);
}