mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-19 06:18:24 +02:00
temporarily set the FRAG_BIT_FOGC bit in InputsRead when fog is enabled
(cherry picked from commit 63be96bdc7)
This commit is contained in:
parent
8e7d941d7a
commit
19d77d6cfa
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue