From: Søren Sandmann Pedersen Date: Thu, 24 Sep 2009 12:10:00 +0000 (-0400) Subject: In the compositing test, Don't try to use component alpha with solid fills. X-Git-Tag: 1.0_branch~757 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=59e877cffe6497d865031d79e9a742414407d544;p=profile%2Fivi%2Fpixman.git In the compositing test, Don't try to use component alpha with solid fills. It's not supported yet. --- diff --git a/test/composite.c b/test/composite.c index f281562..0d4191a 100644 --- a/test/composite.c +++ b/test/composite.c @@ -853,10 +853,13 @@ main (void) switch (ca) { case -1: - ok = composite_test (&dst, op, &src, NULL, ca); + ok = composite_test (&dst, op, &src, NULL, FALSE); break; - default: - ok = composite_test (&dst, op, &src, &mask, ca); + case 0: + ok = composite_test (&dst, op, &src, &mask, FALSE); + case 1: + ok = composite_test (&dst, op, &src, &mask, + mask.size? TRUE : FALSE); break; } group_ok = group_ok && ok;