summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston Sequoia <jeremyhu@apple.com>2021-02-02 21:54:06 -0800
committerJeremy Huddleston Sequoia <jeremyhu@apple.com>2021-02-02 21:54:06 -0800
commitaf4ec632a5a79ecd8f3a3162a64a4a95f25ee8e1 (patch)
tree5f4d4b4ae6d5c7bda34ddfaedddac1b4194174ee
parent1a86abd39ddd9320cc6974587785978b394d8cfc (diff)
Revert "Reduce the number of colors to speed up test execution."
Reverting to avoid an out-of-bounds access of the colors array. These additional colors were used in t_tsrccoords. This reverts commit cadf1d2fdfc4a35662a766864d323b4097d07767.
-rw-r--r--tests.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests.c b/tests.c
index 22cbfd4..214934a 100644
--- a/tests.c
+++ b/tests.c
@@ -40,7 +40,10 @@ color4d colors[] = {
{1.0, 0, 0, 1.0},
{0, 1.0, 0, 1.0},
{0, 0, 1.0, 1.0},
+ {0.5, 0, 0, 0.25},
{0.5, 0, 0, .5},
+ {0.0, .5, 1.0, .5},
+ {0.0, .5, 1.0, 0}
};
/* Convenience pointers to 1x1 repeating colors */