diff options
author | Brian Paul <[email protected]> | 2004-01-26 16:16:16 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-01-26 16:16:16 +0000 |
commit | cb7c689e1411ebf4a66b6bf36711257352abc822 (patch) | |
tree | 503ffb15dd47173f8bc82c7b60d37ab04a2cea09 /src/mesa/tnl/t_vertex.c | |
parent | ab41a96ae7df4479bc247ed6d7a06ade350fd149 (diff) |
replace MALLOC w/ CALLOC to silence valgrind warnings
Diffstat (limited to 'src/mesa/tnl/t_vertex.c')
-rw-r--r-- | src/mesa/tnl/t_vertex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_vertex.c b/src/mesa/tnl/t_vertex.c index dc9ea6184c6..e932ee0ca78 100644 --- 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_MALLOC(vb_size * max_vertex_size, 32 ); + vtx->vertex_buf = (GLubyte *)ALIGN_CALLOC(vb_size * max_vertex_size, 32 ); } } |