From a58ed86fb6139585b9a5d5664c52c7e0d5cfa719 Mon Sep 17 00:00:00 2001 From: marha Date: Wed, 26 Jan 2011 20:00:12 +0000 Subject: pixman mesalib git update 26 jan 2011 --- pixman/test/scaling-crash-test.c | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'pixman/test/scaling-crash-test.c') diff --git a/pixman/test/scaling-crash-test.c b/pixman/test/scaling-crash-test.c index 0ce1fece9..23ee8c6be 100644 --- a/pixman/test/scaling-crash-test.c +++ b/pixman/test/scaling-crash-test.c @@ -95,21 +95,29 @@ run_test (int32_t dst_width, return result; } -typedef struct info_t info_t; -struct info_t +typedef struct filter_info_t filter_info_t; +struct filter_info_t { - int value; + pixman_filter_t value; char name[28]; }; -static const info_t filters[] = +static const filter_info_t filters[] = { { PIXMAN_FILTER_NEAREST, "NEAREST" }, { PIXMAN_FILTER_BILINEAR, "BILINEAR" }, { PIXMAN_FILTER_CONVOLUTION, "CONVOLUTION" }, }; -static const info_t repeats[] = +typedef struct repeat_info_t repeat_info_t; +struct repeat_info_t +{ + pixman_repeat_t value; + char name[28]; +}; + + +static const repeat_info_t repeats[] = { { PIXMAN_REPEAT_PAD, "PAD" }, { PIXMAN_REPEAT_REFLECT, "REFLECT" }, -- cgit v1.2.3