summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Olsak <maraeo@gmail.com>2010-02-08 08:31:59 -0700
committerBrian Paul <brianp@vmware.com>2010-02-08 08:31:59 -0700
commit47df65cd192553782893e69947eae9bfe2f05043 (patch)
treea101717d370ddd9bc05e806e336021517bf980f2
parent11e0225f555aa1a1df8c3c584d14741488686f30 (diff)
clipFlat: relax green color test
Signed-off-by: Brian Paul <brianp@vmware.com>
-rw-r--r--src/glean/tclipflat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glean/tclipflat.cpp b/src/glean/tclipflat.cpp
index c9c03e9..a724cd8 100644
--- a/src/glean/tclipflat.cpp
+++ b/src/glean/tclipflat.cpp
@@ -276,7 +276,7 @@ ClipFlatTest::checkResult(Window &w, GLfloat badColor[3])
// black - OK
}
else if (image[k + 0] == 0 &&
- image[k + 1] == 255 &&
+ image[k + 1] >= 254 &&
image[k + 0] == 0) {
// green - OK
anyGreen = GL_TRUE;