diff options
Diffstat (limited to 'src/mesa/tnl/t_imm_alloc.c')
-rw-r--r-- | src/mesa/tnl/t_imm_alloc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_imm_alloc.c b/src/mesa/tnl/t_imm_alloc.c index b624026767..def3b9cc6c 100644 --- a/src/mesa/tnl/t_imm_alloc.c +++ b/src/mesa/tnl/t_imm_alloc.c @@ -1,4 +1,4 @@ -/* $Id: t_imm_alloc.c,v 1.5 2001/03/12 00:48:43 gareth Exp $ */ +/* $Id: t_imm_alloc.c,v 1.6 2001/04/26 14:53:48 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -44,6 +44,8 @@ struct immediate *_tnl_alloc_immediate( GLcontext *ctx ) if (!IM) return 0; +/* memset(IM, 0, sizeof(*IM)); */ + IM->id = id++; IM->ref_count = 0; IM->backref = ctx; |