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); diff --git a/test/move-to-show-surface.c b/test/move-to-show-surface.c index 74bf51b7b..74cf3a019 100644 --- a/test/move-to-show-surface.c +++ b/test/move-to-show-surface.c @@ -63,7 +63,7 @@ draw (cairo_t *cr, int width, int height) for (i=0; i < 4; i++) { surface = cairo_image_surface_create_for_data ((unsigned char *) &colors[i], - CAIRO_FORMAT_ARGB32, + CAIRO_FORMAT_RGB24, 1, 1, 4); cairo_set_source_surface (cr, surface, i % 2, i / 2); diff --git a/test/paint-with-alpha.c b/test/paint-with-alpha.c index c35f679c5..3292d5f90 100644 --- a/test/paint-with-alpha.c +++ b/test/paint-with-alpha.c @@ -44,7 +44,7 @@ draw (cairo_t *cr, int width, int height) }; surface = cairo_image_surface_create_for_data ((unsigned char *) data, - CAIRO_FORMAT_ARGB32, 4, 4, 16); + CAIRO_FORMAT_RGB24, 4, 4, 16); cairo_scale (cr, 2, 2); diff --git a/test/scale-source-surface-paint.c b/test/scale-source-surface-paint.c index 9553b9f1c..c2b76d3b0 100644 --- a/test/scale-source-surface-paint.c +++ b/test/scale-source-surface-paint.c @@ -44,7 +44,7 @@ draw (cairo_t *cr, int width, int height) }; surface = cairo_image_surface_create_for_data ((unsigned char *) data, - CAIRO_FORMAT_ARGB32, 4, 4, 16); + CAIRO_FORMAT_RGB24, 4, 4, 16); cairo_scale (cr, 2, 2); diff --git a/test/source-surface-scale-paint.c b/test/source-surface-scale-paint.c index e5676c944..472630cad 100644 --- a/test/source-surface-scale-paint.c +++ b/test/source-surface-scale-paint.c @@ -44,7 +44,7 @@ draw (cairo_t *cr, int width, int height) }; surface = cairo_image_surface_create_for_data ((unsigned char *) data, - CAIRO_FORMAT_ARGB32, 4, 4, 16); + CAIRO_FORMAT_RGB24, 4, 4, 16); cairo_set_source_surface (cr, surface, 2, 2); cairo_pattern_set_filter (cairo_get_source (cr), CAIRO_FILTER_NEAREST); diff --git a/test/translate-show-surface.c b/test/translate-show-surface.c index d81ed1ad0..cc0cb0700 100644 --- a/test/translate-show-surface.c +++ b/test/translate-show-surface.c @@ -61,7 +61,7 @@ draw (cairo_t *cr, int width, int height) for (i=0; i < 4; i++) { surface = cairo_image_surface_create_for_data ((unsigned char *) &colors[i], - CAIRO_FORMAT_ARGB32, + CAIRO_FORMAT_RGB24, 1, 1, 4); cairo_save (cr); {