Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versions
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user