test: Add some more colors to the color table in composite.c
authorSøren Sandmann Pedersen <ssp@redhat.com>
Tue, 5 Oct 2010 15:05:25 +0000 (11:05 -0400)
committerSøren Sandmann Pedersen <ssp@redhat.com>
Mon, 11 Oct 2010 16:06:20 +0000 (12:06 -0400)
Specifically, add transparent black and superluminescent white with
alpha = 0.

test/composite.c

index 216046f..5cdc521 100644 (file)
@@ -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 },
 };