Spotted by Meng-Lin Wu. --- tests/general/clipflat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/general/clipflat.c b/tests/general/clipflat.c index 37a40af..03a069c 100644 --- a/tests/general/clipflat.c +++ b/tests/general/clipflat.c @@ -295,7 +295,7 @@ checkResult(GLfloat badColor[3]) } else if (image[k + 0] == 0 && image[k + 1] >= 254 && - image[k + 0] == 0) { + image[k + 2] == 0) { // green - OK anyGreen = true; } -- 1.7.10.4 _______________________________________________ Piglit mailing list Piglit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/piglit