aboutsummaryrefslogtreecommitdiff
path: root/pixman/test/scaling-crash-test.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-01-26 20:00:12 +0000
committermarha <marha@users.sourceforge.net>2011-01-26 20:00:12 +0000
commita58ed86fb6139585b9a5d5664c52c7e0d5cfa719 (patch)
treec51d7a0323a21da5eb0a9b8a1b16002487849627 /pixman/test/scaling-crash-test.c
parent1e1e2c35b405bbb537a6bbe35d9f0831111e272f (diff)
downloadvcxsrv-a58ed86fb6139585b9a5d5664c52c7e0d5cfa719.tar.gz
vcxsrv-a58ed86fb6139585b9a5d5664c52c7e0d5cfa719.tar.bz2
vcxsrv-a58ed86fb6139585b9a5d5664c52c7e0d5cfa719.zip
pixman mesalib git update 26 jan 2011
Diffstat (limited to 'pixman/test/scaling-crash-test.c')
-rw-r--r--pixman/test/scaling-crash-test.c18
1 files changed, 13 insertions, 5 deletions
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" },