aboutsummaryrefslogtreecommitdiff
path: root/pixman/test/trap-crasher.c
diff options
context:
space:
mode:
Diffstat (limited to 'pixman/test/trap-crasher.c')
-rw-r--r--pixman/test/trap-crasher.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/pixman/test/trap-crasher.c b/pixman/test/trap-crasher.c
index 4e4cac297..77be1c98b 100644
--- a/pixman/test/trap-crasher.c
+++ b/pixman/test/trap-crasher.c
@@ -5,7 +5,7 @@ int
main()
{
pixman_image_t *dst;
- pixman_trapezoid_t traps[1] = {
+ pixman_trapezoid_t traps[] = {
{
2147483646,
2147483647,
@@ -18,6 +18,18 @@ main()
{ 0, 2147483647 }
}
},
+ {
+ 32768,
+ - 2147483647,
+ {
+ { 0, 0 },
+ { 0, 2147483647 }
+ },
+ {
+ { 65536, 0 },
+ { 0, 2147483647 }
+ }
+ },
};
dst = pixman_image_create_bits (PIXMAN_a8, 1, 1, NULL, -1);