summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Olsak <maraeo@gmail.com>2010-02-10 18:04:03 -0700
committerBrian Paul <brianp@vmware.com>2010-02-10 18:04:03 -0700
commit5f2bd39cc533c304cee81f97eb0edf2f721bf2cd (patch)
tree23bf473b154dae48f6854930e2bf4ecc9932a7ba
parent69fc3b626427aa06f089c72cea74fac22cd1caba (diff)
fbo: disable dithering
Signed-off-by: Brian Paul <brianp@vmware.com>
-rw-r--r--src/glean/ttexture_srgb.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glean/ttexture_srgb.cpp b/src/glean/ttexture_srgb.cpp
index d138289..10909c0 100644
--- a/src/glean/ttexture_srgb.cpp
+++ b/src/glean/ttexture_srgb.cpp
@@ -172,6 +172,8 @@ TextureSRGBTest::testTextureFormat(GLenum intFormat, GLint components,
glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_REPLACE);
glEnable(GL_TEXTURE_2D);
+ glDisable(GL_DITHER);
+
glDrawBuffer(GL_FRONT);
glReadBuffer(GL_FRONT);