Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versions

This commit is contained in:
Kristian Høgsberg
2010-02-19 11:58:49 -05:00
parent 6bf1ea897f
commit 32f2fd1c5d
132 changed files with 624 additions and 691 deletions

View File

@@ -88,7 +88,7 @@ void _tnl_register_fastpath( struct tnl_clipspace *vtx,
fastpath->match_strides = match_strides;
fastpath->func = vtx->emit;
fastpath->attr = (struct tnl_attr_type *)
_mesa_malloc(vtx->attr_count * sizeof(fastpath->attr[0]));
malloc(vtx->attr_count * sizeof(fastpath->attr[0]));
for (i = 0; i < vtx->attr_count; i++) {
fastpath->attr[i].format = vtx->attr[i].format;