projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c039af1
)
enable fog render input if fragment program fog option set
author
Brian Paul
<brian.paul@tungstengraphics.com>
Tue, 26 Apr 2005 17:25:53 +0000
(17:25 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Tue, 26 Apr 2005 17:25:53 +0000
(17:25 +0000)
src/mesa/tnl/t_context.c
patch
|
blob
|
history
diff --git
a/src/mesa/tnl/t_context.c
b/src/mesa/tnl/t_context.c
index ef23784f6a054e2fcad75f5417440d11bd0146aa..40b030cb12e4c89382b7f4b57cb7eb3bf1e6c0fd 100644
(file)
--- a/
src/mesa/tnl/t_context.c
+++ b/
src/mesa/tnl/t_context.c
@@
-175,7
+175,7
@@
_tnl_InvalidateState( GLcontext *ctx, GLuint new_state )
tnl->render_inputs |= (_TNL_BIT_POS|_TNL_BIT_INDEX);
}
- if (ctx->Fog.Enabled)
+ if (ctx->Fog.Enabled
|| ctx->FragmentProgram.Current->FogOption != GL_NONE
)
tnl->render_inputs |= _TNL_BIT_FOG;
if (ctx->Polygon.FrontMode != GL_FILL ||