summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}