summaryrefslogtreecommitdiff
path: root/src/mesa/main/program.c
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2004-01-23 14:46:27 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2004-01-23 14:46:27 +0000
commit3abf746a7eae52220485cd031aecec2ca9e6103e (patch)
treec5b0f5e9e1751cb18043824027b2e0c2b06b1b03 /src/mesa/main/program.c
parent5c161cf615a073a9a69916957babdd234eba2174 (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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/main/program.c b/src/mesa/main/program.c
index aca9be979d..7294d6c7f7 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) ||