[librsvg/wip/otte: 28/39] tests: Don't force tests to white background



commit bfcbae413ea411ae8860b861c48cceffb6dcc65a
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]