mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 16:18:06 +02:00
Update for FragmentProgram._Active
This commit is contained in:
parent
8b88f62fbd
commit
9eef0da109
1 changed files with 2 additions and 2 deletions
|
|
@ -176,8 +176,8 @@ _tnl_InvalidateState( GLcontext *ctx, GLuint new_state )
|
|||
}
|
||||
|
||||
if (ctx->Fog.Enabled ||
|
||||
(ctx->FragmentProgram.Enabled &&
|
||||
ctx->FragmentProgram.Current->FogOption != GL_NONE))
|
||||
(ctx->FragmentProgram._Active &&
|
||||
ctx->FragmentProgram._Current->FogOption != GL_NONE))
|
||||
tnl->render_inputs |= _TNL_BIT_FOG;
|
||||
|
||||
if (ctx->Polygon.FrontMode != GL_FILL ||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue