summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@tungstengraphics.com>2002-10-22 23:21:55 +0000
committerAlan Hourihane <alanh@tungstengraphics.com>2002-10-22 23:21:55 +0000
commit6051284108d147415544dd6d633a398afd16ce84 (patch)
tree5f8e593a96b89090a5de8db642ffbdb445346a01
parent54f1077bb333008f1a8c30f01730f8b25803f215 (diff)
from an XFree86 merge
-rw-r--r--src/mesa/main/context.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 03a3b65759..043be5102d 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -1,4 +1,4 @@
-/* $Id: context.c,v 1.148.2.10 2002/09/20 17:36:01 brianp Exp $ */
+/* $Id: context.c,v 1.148.2.11 2002/10/22 23:21:55 alanh Exp $ */
/*
* Mesa 3-D graphics library
@@ -1303,7 +1303,10 @@ init_attrib_groups( GLcontext *ctx )
ctx->NoDither = getenv("MESA_NO_DITHER") ? GL_TRUE : GL_FALSE;
if (ctx->NoDither) {
if (getenv("MESA_DEBUG")) {
+ /* XXX This causes an OSMesa build problem on Solaris 2.6 */
+#ifndef SVR4
fprintf(stderr, "MESA_NO_DITHER set - dithering disabled\n");
+#endif
}
ctx->Color.DitherFlag = GL_FALSE;
}