summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-09-16 21:21:42 -0600
committerBrian Paul <brianp@vmware.com>2009-09-16 21:22:02 -0600
commitfac38e8c8f1814ae54703b872db8c6dd21c34a3b (patch)
tree81a371d99b05aa2318b1aea7de7c46bfbbae04df /src
parent88e3a5760559e6ced00a57b7157abe156c22be2e (diff)
downloadexternal_mesa3d-fac38e8c8f1814ae54703b872db8c6dd21c34a3b.zip
external_mesa3d-fac38e8c8f1814ae54703b872db8c6dd21c34a3b.tar.gz
external_mesa3d-fac38e8c8f1814ae54703b872db8c6dd21c34a3b.tar.bz2
mesa: fix clip plane, fog issues
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/common/meta.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c
index 47090ba..ddd476e 100644
--- a/src/mesa/drivers/common/meta.c
+++ b/src/mesa/drivers/common/meta.c
@@ -656,7 +656,6 @@ _mesa_meta_end(GLcontext *ctx)
_mesa_MatrixMode(save->MatrixMode);
- save->ClipPlanesEnabled = ctx->Transform.ClipPlanesEnabled;
if (save->ClipPlanesEnabled) {
GLuint i;
for (i = 0; i < ctx->Const.MaxClipPlanes; i++) {
@@ -692,9 +691,6 @@ _mesa_meta_end(GLcontext *ctx)
if (save->Lighting) {
_mesa_set_enable(ctx, GL_LIGHTING, GL_TRUE);
}
- if (save->Fog) {
- _mesa_set_enable(ctx, GL_FOG, GL_TRUE);
- }
}