summaryrefslogtreecommitdiffstats
path: root/src/mesa/x86/rtasm/x86sse.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-09-16 18:14:24 +0000
committerBrian Paul <[email protected]>2005-09-16 18:14:24 +0000
commitaa2069586d434dd0487b0daa2b583efe801a0d51 (patch)
treecac0a05d5ebc786ae80d18080b1ad2896cac8cc6 /src/mesa/x86/rtasm/x86sse.c
parent3cc67cb8cd1302c20218dda70599523102a29e10 (diff)
use mesa import wrappers, bug 4468
Diffstat (limited to 'src/mesa/x86/rtasm/x86sse.c')
-rw-r--r--src/mesa/x86/rtasm/x86sse.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/x86/rtasm/x86sse.c b/src/mesa/x86/rtasm/x86sse.c
index adc7126801d..40ffc03204e 100644
--- a/src/mesa/x86/rtasm/x86sse.c
+++ b/src/mesa/x86/rtasm/x86sse.c
@@ -1,5 +1,6 @@
#if defined(USE_X86_ASM)
+#include "imports.h"
#include "x86sse.h"
#define DISASSEM 0
@@ -970,13 +971,13 @@ struct x86_reg x86_fn_arg( struct x86_function *p,
void x86_init_func( struct x86_function *p )
{
- p->store = malloc(1024);
+ p->store = _mesa_malloc(1024);
p->csr = p->store;
}
void x86_release_func( struct x86_function *p )
{
- free(p->store);
+ _mesa_free(p->store);
}