diff options
Diffstat (limited to 'test/leaky-polygon.c')
-rw-r--r-- | test/leaky-polygon.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/leaky-polygon.c b/test/leaky-polygon.c index 39daf4ca3..575311ee9 100644 --- a/test/leaky-polygon.c +++ b/test/leaky-polygon.c @@ -51,18 +51,18 @@ * */ -#include "cairo_test.h" +#include "cairo-test.h" #define WIDTH 21 #define HEIGHT 21 cairo_test_t test = { - "leaky_polygon", + "leaky-polygon", "Exercises a corner case in the trapezoid rasterization in which pixels outside the trapezoids received a non-zero alpha", WIDTH, HEIGHT }; -static void +static cairo_test_status_t draw (cairo_t *cr, int width, int height) { cairo_scale (cr, 1.0/(1<<16), 1.0/(1<<16)); @@ -73,6 +73,8 @@ draw (cairo_t *cr, int width, int height) cairo_close_path (cr); cairo_fill (cr); + + return CAIRO_TEST_SUCCESS; } int |