projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f0e04e
)
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
Brian
<brian.paul@tungstengraphics.com>
Wed, 19 Sep 2007 01:38:35 +0000
(19:38 -0600)
src/mesa/main/texenvprogram.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texenvprogram.c
b/src/mesa/main/texenvprogram.c
index 72b54b27d9a6a61d2c42adc1b74a1ce3031717a4..37f8fc8090813daee6aeddd5b80d7210a4134a38 100644
(file)
--- a/
src/mesa/main/texenvprogram.c
+++ b/
src/mesa/main/texenvprogram.c
@@
-1081,6
+1081,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;