projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c749d9
)
silence an uninitialized var warning
author
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 13 Jul 2001 16:39:19 +0000
(16:39 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 13 Jul 2001 16:39:19 +0000
(16:39 +0000)
src/mesa/tnl/t_imm_dlist.c
patch
|
blob
|
history
diff --git
a/src/mesa/tnl/t_imm_dlist.c
b/src/mesa/tnl/t_imm_dlist.c
index 9c22ed3e7b7399799062ebc298e1a796d5810a3b..3cfdf1e51556591e89f352e718393e15280145d4 100644
(file)
--- a/
src/mesa/tnl/t_imm_dlist.c
+++ b/
src/mesa/tnl/t_imm_dlist.c
@@
-1,4
+1,4
@@
-/* $Id: t_imm_dlist.c,v 1.2
1 2001/06/28 17:34:14 keithw
Exp $ */
+/* $Id: t_imm_dlist.c,v 1.2
2 2001/07/13 16:39:19 brianp
Exp $ */
/*
* Mesa 3-D graphics library
@@
-96,7
+96,7
@@
static void build_normal_lengths( struct immediate *IM )
static void fixup_normal_lengths( struct immediate *IM )
{
GLuint i;
- GLfloat len
;
+ GLfloat len
= 1.0; /* just to silence warnings */
GLfloat (*data)[3] = IM->Normal;
GLfloat *dest = IM->NormalLengthPtr;
GLuint *flags = IM->Flag;