diff options
author | Carl Worth <cworth@cworth.org> | 2006-04-24 14:50:52 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2006-04-24 14:50:52 -0700 |
commit | 893239248a9a6ef1a7b9f770aec334f20c5c0861 (patch) | |
tree | 2138215147919f3c78c7a69736c2ff82d5e04340 /test/filter-nearest-offset.c | |
parent | 28e25e1cce0a4e4c612743effb8927c5cb6b3c5b (diff) |
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.c | 2 |
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); |