summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r200/r200_vtxfmt.h
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2005-10-18 13:29:59 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2005-10-18 13:29:59 +0000
commit005469005df6ba5f80e382d5371c6d069c27738b (patch)
tree3724212c691417d4dc08213d02b217d346cb25c3 /src/mesa/drivers/dri/r200/r200_vtxfmt.h
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.h')
-rw-r--r--src/mesa/drivers/dri/r200/r200_vtxfmt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_vtxfmt.h b/src/mesa/drivers/dri/r200/r200_vtxfmt.h
index 82cbda2742..32a21c4897 100644
--- a/src/mesa/drivers/dri/r200/r200_vtxfmt.h
+++ b/src/mesa/drivers/dri/r200/r200_vtxfmt.h
@@ -59,7 +59,7 @@ do { \
insert_at_head( &CACHE, dfn ); \
dfn->key[0] = key[0]; \
dfn->key[1] = key[1]; \
- dfn->code = ALIGN_MALLOC( end - start, 16 ); \
+ dfn->code = _mesa_exec_malloc( end - start ); \
memcpy (dfn->code, start, end - start); \
} \
while ( 0 )