enable fog render input if fragment program fog option set
This commit is contained in:
parent
c039af165d
commit
c03b6f40ba
|
@ -175,7 +175,7 @@ _tnl_InvalidateState( GLcontext *ctx, GLuint new_state )
|
||||||
tnl->render_inputs |= (_TNL_BIT_POS|_TNL_BIT_INDEX);
|
tnl->render_inputs |= (_TNL_BIT_POS|_TNL_BIT_INDEX);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ctx->Fog.Enabled)
|
if (ctx->Fog.Enabled || ctx->FragmentProgram.Current->FogOption != GL_NONE)
|
||||||
tnl->render_inputs |= _TNL_BIT_FOG;
|
tnl->render_inputs |= _TNL_BIT_FOG;
|
||||||
|
|
||||||
if (ctx->Polygon.FrontMode != GL_FILL ||
|
if (ctx->Polygon.FrontMode != GL_FILL ||
|
||||||
|
|
Loading…
Reference in New Issue