diff options
author | marha <marha@users.sourceforge.net> | 2011-01-26 20:08:27 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-01-26 20:08:27 +0000 |
commit | 458542c76bf19b6bb24c397c3a567b64c88842c2 (patch) | |
tree | 397a85ef7184179214dbb0dcfe46ad7db2b02c1e /pixman/test/scaling-crash-test.c | |
parent | 8ed881d7e53a99d2f2bc136c6d3277eba4cd3d3b (diff) | |
parent | a58ed86fb6139585b9a5d5664c52c7e0d5cfa719 (diff) | |
download | vcxsrv-458542c76bf19b6bb24c397c3a567b64c88842c2.tar.gz vcxsrv-458542c76bf19b6bb24c397c3a567b64c88842c2.tar.bz2 vcxsrv-458542c76bf19b6bb24c397c3a567b64c88842c2.zip |
svn merge ^/branches/released .
Diffstat (limited to 'pixman/test/scaling-crash-test.c')
-rw-r--r-- | pixman/test/scaling-crash-test.c | 18 |
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" },
|