diff options
Diffstat (limited to 'src/mesa/main/program.c')
-rw-r--r-- | src/mesa/main/program.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/main/program.c b/src/mesa/main/program.c index aca9be979dd..7294d6c7f73 100644 --- a/src/mesa/main/program.c +++ b/src/mesa/main/program.c @@ -798,8 +798,7 @@ _mesa_BindProgram(GLenum target, GLuint id) GET_CURRENT_CONTEXT(ctx); ASSERT_OUTSIDE_BEGIN_END(ctx); - /* texture state is dependent on current fragment and vertex programs */ - FLUSH_VERTICES(ctx, _NEW_PROGRAM | _NEW_TEXTURE); + FLUSH_VERTICES(ctx, _NEW_PROGRAM); if ((target == GL_VERTEX_PROGRAM_NV && ctx->Extensions.NV_vertex_program) || |