diff options
author | M Joonas Pihlaja <jpihlaja@cc.helsinki.fi> | 2009-11-29 15:56:26 +0200 |
---|---|---|
committer | M Joonas Pihlaja <jpihlaja@cc.helsinki.fi> | 2009-11-29 15:56:26 +0200 |
commit | e2d75203c515f9740a8e0e9779391de0a1a54b07 (patch) | |
tree | 60d9b25345d64f62d129df5c67fb426f1046da49 /util | |
parent | b76565d2f4a2510aabada4cef968b9b597bbef09 (diff) |
[dirty] Add more missing surface dirtying notifications.
Now that the image surface actually cares about
cairo_surface_mark_dirty() we're hitting cases where
we've forgotten to mark surfaces dirty.
Diffstat (limited to 'util')
-rw-r--r-- | util/cairo-script/cairo-script-operators.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/cairo-script/cairo-script-operators.c b/util/cairo-script/cairo-script-operators.c index 27039a4a..aea1a0f5 100644 --- a/util/cairo-script/cairo-script-operators.c +++ b/util/cairo-script/cairo-script-operators.c @@ -2986,6 +2986,7 @@ _image_read_raw (csi_file_t *src, #endif } + cairo_surface_mark_dirty (image); *image_out = image; return CSI_STATUS_SUCCESS; } @@ -4956,6 +4957,7 @@ _set_source_image (csi_t *ctx) memcpy (cairo_image_surface_get_data (surface), cairo_image_surface_get_data (source), cairo_image_surface_get_height (source) * cairo_image_surface_get_stride (source)); + cairo_surface_mark_dirty (surface); } else { cairo_t *cr; |