changeset 0 | 1918ee327afb |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/opengl/util/painter_nomask.glsl Mon Jan 11 14:00:40 2010 +0000 @@ -0,0 +1,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); +}