From 88add60f9ee1049ebd39ef3e1903e2636bdac313 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sun, 19 Jan 2014 23:54:49 +0100 Subject: [PATCH] Disable OpenGL dithering, just to be on the safe side. I don't actually think any modern OpenGL implementations actually heed this flag for 8-bit rendering, but it's fine to be on the safe side nevertheless. --- init.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/init.cpp b/init.cpp index 396cd8b..aca85b9 100644 --- a/init.cpp +++ b/init.cpp @@ -289,6 +289,7 @@ void init_movit(const std::string& data_directory, MovitDebugLevel debug_level) // geez glPixelStorei(GL_PACK_ALIGNMENT, 1); glPixelStorei(GL_UNPACK_ALIGNMENT, 1); + glDisable(GL_DITHER); measure_texel_subpixel_precision(); measure_roundoff_problems(); -- 2.39.2