summaryrefslogtreecommitdiff
path: root/src/mesa/math/m_vector.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2010-02-19 13:16:57 -0500
committerKristian Høgsberg <krh@bitplanet.net>2010-02-19 13:30:22 -0500
commit99ae9e8d7d57ae37629754edd5b1e3716611827f (patch)
tree1503daf41e7a1f1050401cec46dbffd10e697cf2 /src/mesa/math/m_vector.c
parent3ef51b4bd98648f3141b3c6978db312f2f6c782e (diff)
Drop macro wrappers for the aligned memory functions
Diffstat (limited to 'src/mesa/math/m_vector.c')
-rw-r--r--src/mesa/math/m_vector.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/math/m_vector.c b/src/mesa/math/m_vector.c
index 65c381f383..fbd63fd923 100644
--- a/src/mesa/math/m_vector.c
+++ b/src/mesa/math/m_vector.c
@@ -101,7 +101,7 @@ _mesa_vector4f_alloc( GLvector4f *v, GLbitfield flags, GLuint count,
{
v->stride = 4 * sizeof(GLfloat);
v->size = 2;
- v->storage = ALIGN_MALLOC( count * 4 * sizeof(GLfloat), alignment );
+ v->storage = _mesa_align_malloc( count * 4 * sizeof(GLfloat), alignment );
v->storage_count = count;
v->start = (GLfloat *) v->storage;
v->data = (GLfloat (*)[4]) v->storage;
@@ -119,7 +119,7 @@ void
_mesa_vector4f_free( GLvector4f *v )
{
if (v->flags & VEC_MALLOC) {
- ALIGN_FREE( v->storage );
+ _mesa_align_free( v->storage );
v->data = NULL;
v->start = NULL;
v->storage = NULL;