summaryrefslogtreecommitdiff
path: root/pixman/pixman-noop.c
diff options
context:
space:
mode:
Diffstat (limited to 'pixman/pixman-noop.c')
-rw-r--r--pixman/pixman-noop.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/pixman/pixman-noop.c b/pixman/pixman-noop.c
index fc41d7a..cc8dbc9 100644
--- a/pixman/pixman-noop.c
+++ b/pixman/pixman-noop.c
@@ -82,6 +82,11 @@ noop_src_iter_init (pixman_implementation_t *imp, pixman_iter_t *iter)
{
iter->get_scanline = get_scanline_null;
}
+ else if ((iter->flags & (ITER_IGNORE_ALPHA | ITER_IGNORE_RGB)) ==
+ (ITER_IGNORE_ALPHA | ITER_IGNORE_RGB))
+ {
+ iter->get_scanline = _pixman_iter_get_scanline_noop;
+ }
else if ((iter->flags & ITER_NARROW) &&
(image->common.flags & FLAGS) == FLAGS &&
iter->x >= 0 && iter->y >= 0 &&