From 30ed4ced1161ef61efd10de81ff3324d0e7ff39e Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 17 Feb 2011 07:27:17 -0700 Subject: mesa: remove the MESA_NO_DITHER env var This was sometimes useful back when 16-bit framebuffers were prominent. --- src/mesa/main/debug.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/mesa/main/debug.c') diff --git a/src/mesa/main/debug.c b/src/mesa/main/debug.c index f5bfccc01dc..78881668e49 100644 --- a/src/mesa/main/debug.c +++ b/src/mesa/main/debug.c @@ -213,16 +213,6 @@ void _mesa_init_debug( struct gl_context *ctx ) { char *c; - - /* Dither disable */ - ctx->NoDither = _mesa_getenv("MESA_NO_DITHER") ? GL_TRUE : GL_FALSE; - if (ctx->NoDither) { - if (_mesa_getenv("MESA_DEBUG")) { - _mesa_debug(ctx, "MESA_NO_DITHER set - dithering disabled\n"); - } - ctx->Color.DitherFlag = GL_FALSE; - } - c = _mesa_getenv("MESA_DEBUG"); if (c) add_debug_flags(c); -- cgit v1.2.3