summaryrefslogtreecommitdiff
path: root/src/mesa/main/enable.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/enable.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/enable.c')
-rw-r--r--src/mesa/main/enable.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/main/enable.c b/src/mesa/main/enable.c
index d34c6ff908..ea3b8214c3 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);