aboutsummaryrefslogtreecommitdiff
path: root/pixman/test/trap-crasher.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-03-01 07:17:23 +0000
committermarha <marha@users.sourceforge.net>2011-03-01 07:17:23 +0000
commita18769801e521ccb5a409c377ac0a6a1141f5776 (patch)
treecfc3429a80c2f996cb5592512acdebe7719d608c /pixman/test/trap-crasher.c
parentfeee2b5ceb37101bd1c4162e49805e6ad63e28ae (diff)
downloadvcxsrv-a18769801e521ccb5a409c377ac0a6a1141f5776.tar.gz
vcxsrv-a18769801e521ccb5a409c377ac0a6a1141f5776.tar.bz2
vcxsrv-a18769801e521ccb5a409c377ac0a6a1141f5776.zip
pixman mesa git update 1 Mar 2011
Diffstat (limited to 'pixman/test/trap-crasher.c')
-rw-r--r--pixman/test/trap-crasher.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/pixman/test/trap-crasher.c b/pixman/test/trap-crasher.c
index 42b82f674..7485e62fd 100644
--- a/pixman/test/trap-crasher.c
+++ b/pixman/test/trap-crasher.c
@@ -7,21 +7,21 @@ main()
pixman_image_t *dst;
pixman_trapezoid_t traps[1] = {
{
- .top = 2147483646,
- .bottom = 2147483647,
- .left = {
- .p1 = { .x = 0, .y = 0 },
- .p2 = { .x = 0, .y = 2147483647 }
+ 2147483646,
+ 2147483647,
+ {
+ { 0, 0 },
+ { 0, 2147483647 }
},
- .right = {
- .p1 = { .x = 65536, .y = 0 },
- .p2 = { .x = 0, .y = 2147483647 }
+ {
+ { 65536, 0 },
+ { 0, 2147483647 }
}
},
};
-
+
dst = pixman_image_create_bits (PIXMAN_a8, 1, 1, NULL, -1);
-
+
pixman_add_trapezoids (dst, 0, 0, sizeof (traps)/sizeof (traps[0]), traps);
return (0);
}