diff options
author | Keith Whitwell <[email protected]> | 2004-01-23 14:46:27 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2004-01-23 14:46:27 +0000 |
commit | 3abf746a7eae52220485cd031aecec2ca9e6103e (patch) | |
tree | c5b0f5e9e1751cb18043824027b2e0c2b06b1b03 /src/mesa/main/program.c | |
parent | 5c161cf615a073a9a69916957babdd234eba2174 (diff) |
Don't set extra bits in FLUSH_VERTICES, fix several state bugs.
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) || |