diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2003-04-07 15:03:15 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2003-04-07 15:03:15 +0000 |
commit | 0b4759d4fd8cb1eb3533a7cc803a3b642720df44 (patch) | |
tree | 281fed28eb6e3f5b304cb611f75b32aba0ffc43d | |
parent | 266f5adae30d65896220c7c775f8a4a851924f99 (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.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/tnl/t_imm_exec.c b/src/mesa/tnl/t_imm_exec.c index bf50508564..64c970118c 100644 --- a/src/mesa/tnl/t_imm_exec.c +++ b/src/mesa/tnl/t_imm_exec.c @@ -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. + */ } |