Reviewed-by: Matthew McClure <[email protected]>

----- Original Message -----
From: "Brian Paul" <[email protected]>
To: [email protected]
Sent: Tuesday, July 8, 2014 3:32:19 PM
Subject: [Piglit] [PATCH] clipflat: fix 0/2 index typo

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
[email protected]
https://urldefense.proofpoint.com/v1/url?u=http://lists.freedesktop.org/mailman/listinfo/piglit&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=Vlukj7htlXQOYRouhHnZbWXYcQvOJnTLOoZzNyO4nxE%3D%0A&m=BAvv3uupSUsDZ2cR%2BdhN%2BTaSkz8aLPpLrF4rMm7juBE%3D%0A&s=e709c0d73eb145c1388cf188ec22f4ae7c3f7f1ef957bccb1e7aadcbdf5765ca
_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to