aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r200/r200_vtxfmt.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2005-10-18 13:29:59 +0000
committerKeith Whitwell <[email protected]>2005-10-18 13:29:59 +0000
commit005469005df6ba5f80e382d5371c6d069c27738b (patch)
tree3724212c691417d4dc08213d02b217d346cb25c3 /src/mesa/drivers/dri/r200/r200_vtxfmt.c
parent05e1a49ab4b0d34aba4bdf55ed7ffe5b6d4411f8 (diff)
Add _mesa_exec_malloc() and _mesa_exec_free() for allocating
executable memory. Based on Thomas Hellstrom's patch. TODO: glapi.c also needs this, but cannot access this code.
Diffstat (limited to 'src/mesa/drivers/dri/r200/r200_vtxfmt.c')
-rw-r--r--src/mesa/drivers/dri/r200/r200_vtxfmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_vtxfmt.c b/src/mesa/drivers/dri/r200/r200_vtxfmt.c
index d9af6bf5f85..61a757c870d 100644
--- a/src/mesa/drivers/dri/r200/r200_vtxfmt.c
+++ b/src/mesa/drivers/dri/r200/r200_vtxfmt.c
@@ -1172,7 +1172,7 @@ static void free_funcs( struct dynfn *l )
struct dynfn *f, *tmp;
foreach_s (f, tmp, l) {
remove_from_list( f );
- ALIGN_FREE( f->code );
+ _mesa_exec_free( f->code );
FREE( f );
}
}