src/opengl/util/painter_nomask.glsl
author William Roberts <williamr@symbian.org>
Fri, 11 Jun 2010 16:26:16 +0100
branchGCC_SURGE
changeset 24 24fd0381a9ae
parent 0 1918ee327afb
permissions -rw-r--r--
Branch for GCC_SURGE fixes

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