projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc920f0
)
fix eval/colormaterial interaction
author
Keith Whitwell
<keith@tungstengraphics.com>
Wed, 9 May 2001 11:06:30 +0000
(11:06 +0000)
committer
Keith Whitwell
<keith@tungstengraphics.com>
Wed, 9 May 2001 11:06:30 +0000
(11:06 +0000)
src/mesa/tnl/t_imm_eval.c
patch
|
blob
|
history
diff --git
a/src/mesa/tnl/t_imm_eval.c
b/src/mesa/tnl/t_imm_eval.c
index 747e6d1b149f367cacaa3c638e677c903ab4ffbb..324c04b25f540d13963c335ca3eaca6b52ca92c5 100644
(file)
--- a/
src/mesa/tnl/t_imm_eval.c
+++ b/
src/mesa/tnl/t_imm_eval.c
@@
-1,4
+1,4
@@
-/* $Id: t_imm_eval.c,v 1.1
1 2001/05/03 14:11:18 brianp
Exp $ */
+/* $Id: t_imm_eval.c,v 1.1
2 2001/05/09 11:06:30 keithw
Exp $ */
/*
* Mesa 3-D graphics library
@@
-752,7
+752,9
@@
void _tnl_eval_immediate( GLcontext *ctx, struct immediate *IM )
/* Produce new flags array:
*/
{
- GLuint i, count = tnl->vb.Count;
+ GLuint i;
+ GLuint count = tnl->vb.Count + 1;
+
copy_1ui( store->Flag, flags, count );
tnl->vb.Flag = store->Flag;
for (i = 0 ; i < count ; i++)