diff options
author | Kristian Høgsberg <[email protected]> | 2010-02-19 13:16:57 -0500 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2010-02-19 13:30:22 -0500 |
commit | 99ae9e8d7d57ae37629754edd5b1e3716611827f (patch) | |
tree | 1503daf41e7a1f1050401cec46dbffd10e697cf2 /src/mesa/tnl/t_vertex.c | |
parent | 3ef51b4bd98648f3141b3c6978db312f2f6c782e (diff) |
Drop macro wrappers for the aligned memory functions
Diffstat (limited to 'src/mesa/tnl/t_vertex.c')
-rw-r--r-- | src/mesa/tnl/t_vertex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/tnl/t_vertex.c b/src/mesa/tnl/t_vertex.c index b35d6a284e5..c1b1570232a 100644 --- a/src/mesa/tnl/t_vertex.c +++ b/src/mesa/tnl/t_vertex.c @@ -494,7 +494,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_CALLOC(vb_size * max_vertex_size, 32 ); + vtx->vertex_buf = (GLubyte *)_mesa_align_calloc(vb_size * max_vertex_size, 32 ); invalidate_funcs(vtx); } @@ -541,7 +541,7 @@ void _tnl_free_vertices( GLcontext *ctx ) struct tnl_clipspace_fastpath *fp, *tmp; if (vtx->vertex_buf) { - ALIGN_FREE(vtx->vertex_buf); + _mesa_align_free(vtx->vertex_buf); vtx->vertex_buf = NULL; } |