mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 19:40:10 +01:00
temporarily set the FRAG_BIT_FOGC bit in InputsRead when fog is enabled
This commit is contained in:
parent
3f0e04e0e6
commit
63be96bdc7
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue