diff options
author | Keith Whitwell <[email protected]> | 2001-05-09 11:06:30 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2001-05-09 11:06:30 +0000 |
commit | 0ff31445f20238112c4ee840901e5e5fe9b4c314 (patch) | |
tree | 3307c0770d69dc80f29f673bfb34e80b14fe8185 /src/mesa/tnl | |
parent | bc920f08f5c6f75c8945bc90a71db93bb16ac1f8 (diff) |
fix eval/colormaterial interaction
Diffstat (limited to 'src/mesa/tnl')
-rw-r--r-- | src/mesa/tnl/t_imm_eval.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/tnl/t_imm_eval.c b/src/mesa/tnl/t_imm_eval.c index 747e6d1b149..324c04b25f5 100644 --- 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.11 2001/05/03 14:11:18 brianp Exp $ */ +/* $Id: t_imm_eval.c,v 1.12 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++) |