projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88e3a57
)
mesa: fix clip plane, fog issues
author
Brian Paul
<brianp@vmware.com>
Thu, 17 Sep 2009 03:21:42 +0000
(21:21 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 17 Sep 2009 03:22:02 +0000
(21:22 -0600)
src/mesa/drivers/common/meta.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/common/meta.c
b/src/mesa/drivers/common/meta.c
index 47090ba297bcf7421367cc579dd02285f55a7901..ddd476eba1ca49e0bd1155da4cbba55e1a356d02 100644
(file)
--- 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);
- }
}