[librsvg] tests: Don't force tests to white background
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg] tests: Don't force tests to white background
- Date: Thu, 22 Oct 2015 11:14:15 +0000 (UTC)
commit 4cbeea9ca5b8025d0d974b8b3bbb73e1af5e7a1f
Author: Benjamin Otte <otte redhat com>
Date: Sun Oct 18 17:15:27 2015 +0200
tests: Don't force tests to white background
We support transparency after all.
This breaks the refference images for tests, but because they're all
broken anyway I didn't bother regenerating them.
tests/rsvg-test.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/tests/rsvg-test.c b/tests/rsvg-test.c
index bad15e0..d2f97ec 100644
--- a/tests/rsvg-test.c
+++ b/tests/rsvg-test.c
@@ -205,8 +205,6 @@ rsvg_cairo_check (gconstpointer data)
surface_a = cairo_image_surface_create (CAIRO_FORMAT_ARGB32,
dimensions.width, dimensions.height);
cr = cairo_create (surface_a);
- cairo_set_source_rgb (cr, 1, 1, 1);
- cairo_paint (cr);
rsvg_handle_render_cairo (rsvg, cr);
cairo_surface_write_to_png (surface_a, png_filename);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]