src/opengl/util/painter_nomask.glsl
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 19 Feb 2010 23:40:16 +0200
branchRCL_3
changeset 4 3b1da2848fc7
parent 0 1918ee327afb
permissions -rw-r--r--
Revision: 201003 Kit: 201007

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);
}