diff options
author | Benjamin Otte <otte@gnome.org> | 2009-11-20 01:18:28 +0100 |
---|---|---|
committer | Benjamin Otte <otte@gnome.org> | 2009-11-20 01:19:17 +0100 |
commit | 2826b039b32454ffbd59d2307f522bc566daedc3 (patch) | |
tree | c39429965af19a042733d3a87a22cad511ae597b | |
parent | 93035887cb436dbcd4b992856380183d724d8b97 (diff) |
Mark the mask surface as dirty after touching all its pixels
Cairo is smart enough to assume it's still clean otherwise and then
skips masking with it.
-rw-r--r-- | gst/cairo/gstcairotestsrc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/cairo/gstcairotestsrc.c b/gst/cairo/gstcairotestsrc.c index 6284167..ed98b01 100644 --- a/gst/cairo/gstcairotestsrc.c +++ b/gst/cairo/gstcairotestsrc.c @@ -360,6 +360,7 @@ create_alpha_map (guint w, guint h) } data += stride; } + cairo_surface_mark_dirty (surface); return surface; } |