projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e7d941
)
temporarily set the FRAG_BIT_FOGC bit in InputsRead when fog is enabled
author
Brian
<brian.paul@tungstengraphics.com>
Wed, 19 Sep 2007 01:29:26 +0000
(19:29 -0600)
committer
Keith Whitwell
<keith@tungstengraphics.com>
Wed, 24 Sep 2008 17:03:27 +0000
(10:03 -0700)
(cherry picked from commit
63be96bdc7e9f388a5c49295bd7e150462fd003a
)
src/mesa/main/texenvprogram.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texenvprogram.c
b/src/mesa/main/texenvprogram.c
index 5f7634b46093e69dbbb5ffd9c080132a5f310b33..d471030f1463e9e0efdf359924f0a5d7ff6a5783 100644
(file)
--- a/
src/mesa/main/texenvprogram.c
+++ b/
src/mesa/main/texenvprogram.c
@@
-1100,6
+1100,7
@@
create_new_program(GLcontext *ctx, struct state_key *key,
* a reduced value and not what is expected in FogOption
*/
p.program->FogOption = ctx->Fog.Mode;
+ p.program->Base.InputsRead |= FRAG_BIT_FOGC; /* XXX new */
} else
p.program->FogOption = GL_NONE;