Drop macro wrappers for the aligned memory functions

This commit is contained in:
Kristian Høgsberg
2010-02-19 13:16:57 -05:00
parent 3ef51b4bd9
commit 99ae9e8d7d
18 changed files with 37 additions and 48 deletions

View File

@@ -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;