aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouk Jansen <[email protected]>2001-09-07 06:55:59 +0000
committerJouk Jansen <[email protected]>2001-09-07 06:55:59 +0000
commit9348cfc6e8d72dea6b4ee248b7ef69ad639efea2 (patch)
tree28c323c0a5faa95ff7423c611d3b4319c50d4193
parent190d34874cdf2a074364980d1cf2d3fa201ac7a1 (diff)
Committing in .
Modified Files: Mesa/src/tnl/t_imm_alloc.c added initialization for Normals ----------------------------------------------------------------------
-rw-r--r--src/mesa/tnl/t_imm_alloc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_imm_alloc.c b/src/mesa/tnl/t_imm_alloc.c
index 5cf0d1ea142..302d739c7f3 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.9 2001/06/28 17:34:14 keithw Exp $ */
+/* $Id: t_imm_alloc.c,v 1.10 2001/09/07 06:55:59 joukj Exp $ */
/*
* Mesa 3-D graphics library
@@ -77,6 +77,7 @@ static struct immediate *real_alloc_immediate( GLcontext *ctx )
*/
MEMSET(IM->Flag, 0, sizeof(IM->Flag));
+ MEMSET(IM->Normal, 0.0 , sizeof(IM->Normal));
return IM;
}