From 20583bd4489669713b81128f8c6ab2fda6a8cc98 Mon Sep 17 00:00:00 2001 From: Marek Olsak Date: Mon, 8 Feb 2010 08:33:36 -0700 Subject: fbo: loosen the color tolerance a little Signed-off-by: Brian Paul --- src/glean/tfbo.cpp | 8 ++++---- 1 file 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]) -- cgit v1.2.3