rendercheck: tests.c
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sun Feb 14 05:53:42 UTC 2021
tests.c | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit af4ec632a5a79ecd8f3a3162a64a4a95f25ee8e1
Author: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
Date: Tue Feb 2 21:54:06 2021 -0800
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.
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 */
More information about the xorg-commit
mailing list