projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69ffa43
)
Don't unset FLUSH_STORED_VERTICES in _tnl_execute_cassette as this may
author
Keith Whitwell
<keith@tungstengraphics.com>
Mon, 7 Apr 2003 14:53:28 +0000
(14:53 +0000)
committer
Keith Whitwell
<keith@tungstengraphics.com>
Mon, 7 Apr 2003 14:53:28 +0000
(14:53 +0000)
break driver callbacks.
src/mesa/tnl/t_imm_exec.c
patch
|
blob
|
history
diff --git
a/src/mesa/tnl/t_imm_exec.c
b/src/mesa/tnl/t_imm_exec.c
index 97f49762adae665733ceb627fd6b85077fcc0f02..3c56e2ede289ba7e5e79da92b4ce4995029d948b 100644
(file)
--- 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.4
4 2003/03/01 01:50:27 brianp
Exp $ */
+/* $Id: t_imm_exec.c,v 1.4
5 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.
+ */
}