summaryrefslogtreecommitdiffstats
path: root/src/opengl/util/painter_nomask.glsl
blob: af5ad6505f7ca05908509a3a4462b436fc612cb4 (plain)
1
2
3
4
5
6
7
8
9
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);
}