projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab41a96
)
replace MALLOC w/ CALLOC to silence valgrind warnings
author
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 26 Jan 2004 16:16:16 +0000
(16:16 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 26 Jan 2004 16:16:16 +0000
(16:16 +0000)
src/mesa/tnl/t_vertex.c
patch
|
blob
|
history
diff --git
a/src/mesa/tnl/t_vertex.c
b/src/mesa/tnl/t_vertex.c
index dc9ea6184c6b33ab4780dfb0d83bc5e12d3c5497..e932ee0ca7857017f6ca340d41250b628c72ac57 100644
(file)
--- a/
src/mesa/tnl/t_vertex.c
+++ b/
src/mesa/tnl/t_vertex.c
@@
-1064,7
+1064,7
@@
void _tnl_init_vertices( GLcontext *ctx,
if (max_vertex_size > vtx->max_vertex_size) {
_tnl_free_vertices( ctx );
vtx->max_vertex_size = max_vertex_size;
- vtx->vertex_buf = (GLubyte *)ALIGN_
M
ALLOC(vb_size * max_vertex_size, 32 );
+ vtx->vertex_buf = (GLubyte *)ALIGN_
C
ALLOC(vb_size * max_vertex_size, 32 );
}
}