diff options
author | Brian <[email protected]> | 2007-09-18 19:29:26 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-09-18 19:38:35 -0600 |
commit | 63be96bdc7e9f388a5c49295bd7e150462fd003a (patch) | |
tree | f9163fa12db46267f80737eb3485bac6708f7d1b /src/mesa/main | |
parent | 3f0e04e0e62b853382a018cb6a69eea14e85712d (diff) |
temporarily set the FRAG_BIT_FOGC bit in InputsRead when fog is enabled
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/texenvprogram.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/texenvprogram.c b/src/mesa/main/texenvprogram.c index 72b54b27d9a..37f8fc80908 100644 --- 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; |