diff options
author | Brian Paul <[email protected]> | 2011-02-17 07:27:17 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-02-17 07:28:58 -0700 |
commit | 30ed4ced1161ef61efd10de81ff3324d0e7ff39e (patch) | |
tree | 4518662a82e2c593697a5ae79f4a54b59268afef /src | |
parent | b1d485712fb90ef243384cd646822ba1f460314b (diff) |
mesa: remove the MESA_NO_DITHER env var
This was sometimes useful back when 16-bit framebuffers were prominent.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/debug.c | 10 | ||||
-rw-r--r-- | src/mesa/main/enable.c | 3 | ||||
-rw-r--r-- | src/mesa/main/mtypes.h | 3 |
3 files changed, 0 insertions, 16 deletions
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); diff --git a/src/mesa/main/enable.c b/src/mesa/main/enable.c index d34c6ff9085..ea3b8214c3b 100644 --- a/src/mesa/main/enable.c +++ b/src/mesa/main/enable.c @@ -352,9 +352,6 @@ _mesa_set_enable(struct gl_context *ctx, GLenum cap, GLboolean state) ctx->Depth.Test = state; break; case GL_DITHER: - if (ctx->NoDither) { - state = GL_FALSE; /* MESA_NO_DITHER env var */ - } if (ctx->Color.DitherFlag == state) return; FLUSH_VERTICES(ctx, _NEW_COLOR); diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index b5966dffeab..b237063a6d8 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -3295,9 +3295,6 @@ struct gl_context GLboolean FirstTimeCurrent; /*@}*/ - /** Dither disable via MESA_NO_DITHER env var */ - GLboolean NoDither; - /** software compression/decompression supported or not */ GLboolean Mesa_DXTn; |