summaryrefslogtreecommitdiff
path: root/src/mgavb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mgavb.c')
-rw-r--r--src/mgavb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mgavb.c b/src/mgavb.c
index def5109..71bbf33 100644
--- a/src/mgavb.c
+++ b/src/mgavb.c
@@ -451,7 +451,7 @@ void mgaInitVB( GLcontext *ctx )
mgaContextPtr mmesa = MGA_CONTEXT(ctx);
GLuint size = TNL_CONTEXT(ctx)->vb.Size;
- mmesa->verts = (GLubyte *)ALIGN_MALLOC(size * sizeof(mgaVertex), 32);
+ mmesa->verts = (GLubyte *)_mesa_align_malloc(size * sizeof(mgaVertex), 32);
{
static int firsttime = 1;
@@ -471,7 +471,7 @@ void mgaFreeVB( GLcontext *ctx )
{
mgaContextPtr mmesa = MGA_CONTEXT(ctx);
if (mmesa->verts) {
- ALIGN_FREE(mmesa->verts);
+ _mesa_align_free(mmesa->verts);
mmesa->verts = 0;
}
}