summaryrefslogtreecommitdiff
path: root/test/filter-nearest-offset.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2006-04-24 14:50:52 -0700
committerCarl Worth <cworth@cworth.org>2006-04-24 14:50:52 -0700
commit893239248a9a6ef1a7b9f770aec334f20c5c0861 (patch)
tree2138215147919f3c78c7a69736c2ff82d5e04340 /test/filter-nearest-offset.c
parent28e25e1cce0a4e4c612743effb8927c5cb6b3c5b (diff)
downloadcairo-893239248a9a6ef1a7b9f770aec334f20c5c0861.tar.gz
Prefer RGB24 over ARGB32 for source surfaces in tests.
Some tests were using source surfaces created as ARGB32 even though all alpha values are entirely opaque. This meant these tests were triggering more fallbacks than strictly necessary for what the tests are ttrying to do.
Diffstat (limited to 'test/filter-nearest-offset.c')
-rw-r--r--test/filter-nearest-offset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/filter-nearest-offset.c b/test/filter-nearest-offset.c
index d7373c792..f664fbfb4 100644
--- a/test/filter-nearest-offset.c
+++ b/test/filter-nearest-offset.c
@@ -62,7 +62,7 @@ draw (cairo_t *cr, int width, int height)
cairo_stroke (cr);
surface = cairo_image_surface_create_for_data ((unsigned char *) data,
- CAIRO_FORMAT_ARGB32,
+ CAIRO_FORMAT_RGB24,
STAMP_WIDTH,
STAMP_HEIGHT,
STAMP_WIDTH * 4);