From: Jouk Jansen Date: Fri, 7 Sep 2001 06:55:59 +0000 (+0000) Subject: Committing in . X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9348cfc6e8d72dea6b4ee248b7ef69ad639efea2;p=mesa.git Committing in . Modified Files: Mesa/src/tnl/t_imm_alloc.c added initialization for Normals ---------------------------------------------------------------------- --- 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; }