summaryrefslogtreecommitdiff
path: root/test/surface-pattern-scale-up.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/surface-pattern-scale-up.c')
-rw-r--r--test/surface-pattern-scale-up.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/surface-pattern-scale-up.c b/test/surface-pattern-scale-up.c
index 921e1a36..d1f0e41a 100644
--- a/test/surface-pattern-scale-up.c
+++ b/test/surface-pattern-scale-up.c
@@ -21,8 +21,7 @@ draw (cairo_t *cr, int width, int height)
int surface_size = 6;
cairo_set_source_rgb (cr, 0, 0, 0);
- cairo_rectangle (cr, 0, 0, SIZE, SIZE);
- cairo_fill (cr);
+ cairo_paint (cr);
/* Create an image surface with my favorite four colors in each
* quadrant. */