summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>1999-11-23 21:15:37 +0000
committerKeith Whitwell <[email protected]>1999-11-23 21:15:37 +0000
commit04c43deb54247377859ac338075c61300a84f714 (patch)
tree55a2c7bfb058170011b6a6567f335a1a0ca97431 /src/mesa
parent664a1f88f2e39fa52eccd7217a1f7aaa4c48f5af (diff)
another typo
Diffstat (limited to 'src/mesa')
-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 70c5141a200..e8a6f86431a 100644
--- a/src/mesa/main/attrib.c
+++ b/src/mesa/main/attrib.c
@@ -1,4 +1,4 @@
-/* $Id: attrib.c,v 1.12 1999/11/22 18:28:39 brianp Exp $ */
+/* $Id: attrib.c,v 1.13 1999/11/23 21:15:37 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -585,7 +585,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;