summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarek Olsak <maraeo@gmail.com>2010-02-08 08:33:36 -0700
committerBrian Paul <brianp@vmware.com>2010-02-08 08:33:36 -0700
commit20583bd4489669713b81128f8c6ab2fda6a8cc98 (patch)
tree158808f259b7af773e3a226bf35e25239341ca93 /src
parent47df65cd192553782893e69947eae9bfe2f05043 (diff)
fbo: loosen the color tolerance a little
Signed-off-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src')
-rw-r--r--src/glean/tfbo.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/glean/tfbo.cpp b/src/glean/tfbo.cpp
index 1c66853..126a9cf 100644
--- a/src/glean/tfbo.cpp
+++ b/src/glean/tfbo.cpp
@@ -93,11 +93,11 @@ FBOTest::setup(void)
glGetIntegerv(GL_ALPHA_BITS, &bufferBits[3]);
glGetIntegerv(GL_DEPTH_BITS, &bufferBits[4]);
- tolerance[0] = 2.0 / (1 << bufferBits[0]);
- tolerance[1] = 2.0 / (1 << bufferBits[1]);
- tolerance[2] = 2.0 / (1 << bufferBits[2]);
+ tolerance[0] = 3.0 / (1 << bufferBits[0]);
+ tolerance[1] = 3.0 / (1 << bufferBits[1]);
+ tolerance[2] = 3.0 / (1 << bufferBits[2]);
if (bufferBits[3])
- tolerance[3] = 2.0 / (1 << bufferBits[3]);
+ tolerance[3] = 3.0 / (1 << bufferBits[3]);
else
tolerance[3] = 1.0;
if (bufferBits[4])