diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/state.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c index 76946bd93eb..fb8b71cfe22 100644 --- a/src/mesa/main/state.c +++ b/src/mesa/main/state.c @@ -627,7 +627,8 @@ _mesa_set_varying_vp_inputs( struct gl_context *ctx, * * It's okay to check the VP pointer here, because this is called after * _mesa_update_state in the vbo module. */ - if (ctx->VertexProgram._TnlProgram) { + if (ctx->VertexProgram._TnlProgram || + ctx->FragmentProgram._TexEnvProgram) { ctx->NewState |= _NEW_VARYING_VP_INPUTS; } /*printf("%s %x\n", __FUNCTION__, varying_inputs);*/ |