summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2003-04-07 14:53:28 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2003-04-07 14:53:28 +0000
commite3dd0a4e7fefb3d095f64f5bdf6464d689b019a0 (patch)
tree8ba930dfcb537bcd81c5fdb0d748f4ec7229f771
parent69ffa43656d97595e620718e97b8b5526c40f022 (diff)
Don't unset FLUSH_STORED_VERTICES in _tnl_execute_cassette as this may
break driver callbacks.
-rw-r--r--src/mesa/tnl/t_imm_exec.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mesa/tnl/t_imm_exec.c b/src/mesa/tnl/t_imm_exec.c
index 97f49762ad..3c56e2ede2 100644
--- a/src/mesa/tnl/t_imm_exec.c
+++ b/src/mesa/tnl/t_imm_exec.c
@@ -1,4 +1,4 @@
-/* $Id: t_imm_exec.c,v 1.44 2003/03/01 01:50:27 brianp Exp $ */
+/* $Id: t_imm_exec.c,v 1.45 2003/04/07 14:53:28 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -511,8 +511,10 @@ void _tnl_execute_cassette( GLcontext *ctx, struct immediate *IM )
begin_state, saved_begin_state );
}
- if (ctx->Driver.CurrentExecPrimitive == GL_POLYGON+1)
- ctx->Driver.NeedFlush &= ~FLUSH_STORED_VERTICES;
+ /* Don't unset FLUSH_STORED_VERTICES flag here as the driver might
+ * have other stored data of its own & be relying on the
+ * FlushVertices notification to clear it.
+ */
}