[Pixman] [PATCH 5/5] test: Add some more colors to the color table in composite.c
Søren Sandmann Pedersen
ssp at redhat.com
Tue Oct 5 10:19:07 PDT 2010
Specifically, add transparent black and superluminescent white with
alpha = 0.
---
test/composite.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/test/composite.c b/test/composite.c
index 216046f..5cdc521 100644
--- a/test/composite.c
+++ b/test/composite.c
@@ -54,10 +54,12 @@ struct format_t
static const color_t colors[] =
{
{ 1.0, 1.0, 1.0, 1.0 },
+ { 1.0, 1.0, 1.0, 0.0 },
+ { 0.0, 0.0, 0.0, 1.0 },
+ { 0.0, 0.0, 0.0, 0.0 },
{ 1.0, 0.0, 0.0, 1.0 },
{ 0.0, 1.0, 0.0, 1.0 },
{ 0.0, 0.0, 1.0, 1.0 },
- { 0.0, 0.0, 0.0, 1.0 },
{ 0.5, 0.0, 0.0, 0.5 },
};
--
1.7.1.1
More information about the Pixman
mailing list