diff options
author | Keith Whitwell <[email protected]> | 2001-04-26 14:53:48 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2001-04-26 14:53:48 +0000 |
commit | 908be619fdba608b057ae512834dcc7a76aa3224 (patch) | |
tree | 00cb553822541c0a91924ceafaa8eb3045dd5832 /src/mesa/tnl/t_imm_alloc.c | |
parent | 8bce6a217ab97ecf732ea9dcf86c94396b79f774 (diff) |
first pass at eval fixes
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 b624026767c..def3b9cc6cd 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; |