summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>1999-11-23 21:13:55 +0000
committerKeith Whitwell <keith@tungstengraphics.com>1999-11-23 21:13:55 +0000
commit33817940c4ba37d327a9e2c7e20688d69560fbdc (patch)
treef46ce9b4546845aae6e358882745f1b9988fdfed
parent7ec2e161acb189660eea281b8f965b2bfd3928f6 (diff)
another typo
-rw-r--r--src/mesa/main/attrib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/attrib.c b/src/mesa/main/attrib.c
index 81ae0f7f18..23557fed18 100644
--- a/src/mesa/main/attrib.c
+++ b/src/mesa/main/attrib.c
@@ -1,4 +1,4 @@
-/* $Id: attrib.c,v 1.10.2.1 1999/11/22 18:26:51 brianp Exp $ */
+/* $Id: attrib.c,v 1.10.2.2 1999/11/23 21:13:55 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -596,7 +596,7 @@ void gl_PopAttrib( GLcontext* ctx )
(*ctx->Driver.Fogfv)( ctx, GL_FOG_INDEX, &index );
(*ctx->Driver.Fogfv)( ctx, GL_FOG_COLOR, ctx->Fog.Color );
}
- ctx->Enabled &= ENABLE_FOG;
+ ctx->Enabled &= ~ENABLE_FOG;
if (ctx->Fog.Enabled) ctx->Enabled |= ENABLE_FOG;
}
break;