projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebe671c
)
init tmp->Normal.size = 3
author
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 8 Aug 2002 16:55:17 +0000
(16:55 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 8 Aug 2002 16:55:17 +0000
(16:55 +0000)
src/mesa/tnl/t_imm_exec.c
patch
|
blob
|
history
diff --git
a/src/mesa/tnl/t_imm_exec.c
b/src/mesa/tnl/t_imm_exec.c
index 02643ce867b38dc500ba1ffa7d6c447a2eb0d507..137c7ec5148728b4d22ac17614b9d882509336cd 100644
(file)
--- a/
src/mesa/tnl/t_imm_exec.c
+++ b/
src/mesa/tnl/t_imm_exec.c
@@
-1,4
+1,4
@@
-/* $Id: t_imm_exec.c,v 1.4
1 2002/06/15 02:38:18
brianp Exp $ */
+/* $Id: t_imm_exec.c,v 1.4
2 2002/08/08 16:55:17
brianp Exp $ */
/*
* Mesa 3-D graphics library
@@
-295,6
+295,7
@@
static void _tnl_vb_bind_immediate( GLcontext *ctx, struct immediate *IM )
tmp->Normal.data = IM->Attrib[VERT_ATTRIB_NORMAL] + start;
tmp->Normal.start = (GLfloat *) (IM->Attrib[VERT_ATTRIB_NORMAL] + start);
tmp->Normal.count = count;
+ tmp->Normal.size = 3; /* just to be safe */
VB->NormalPtr = &tmp->Normal;
if (IM->NormalLengthPtr)
VB->NormalLengthPtr = IM->NormalLengthPtr + start;