summaryrefslogtreecommitdiff
path: root/src/mesa/main/debug.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2011-02-17 07:27:17 -0700
committerBrian Paul <brianp@vmware.com>2011-02-17 07:28:58 -0700
commit30ed4ced1161ef61efd10de81ff3324d0e7ff39e (patch)
tree4518662a82e2c593697a5ae79f4a54b59268afef /src/mesa/main/debug.c
parentb1d485712fb90ef243384cd646822ba1f460314b (diff)
mesa: remove the MESA_NO_DITHER env var
This was sometimes useful back when 16-bit framebuffers were prominent.
Diffstat (limited to 'src/mesa/main/debug.c')
-rw-r--r--src/mesa/main/debug.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mesa/main/debug.c b/src/mesa/main/debug.c
index f5bfccc01d..78881668e4 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);