summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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])