aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/unichrome
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-06-27 00:34:17 +0000
committerBrian Paul <[email protected]>2005-06-27 00:34:17 +0000
commit2dbffb30f05fcf67658c64b8101e9efaf07ca388 (patch)
tree87014f68871fdabde5062fdeb125365b02f731bb /src/mesa/drivers/dri/unichrome
parent397088ff5e904d5cb0fbff1f58fbd0d2bb498302 (diff)
Get rid of the MESA_PBUFFER_ALLOC/FREE() macros.
If that stuff is still needed, lots of other updates are needed anyway. Also, some misc MALLOC/FREE -> _mesa_malloc/free() changes.
Diffstat (limited to 'src/mesa/drivers/dri/unichrome')
-rw-r--r--src/mesa/drivers/dri/unichrome/via_fb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_fb.c b/src/mesa/drivers/dri/unichrome/via_fb.c
index e1215585ae1..e07c200b321 100644
--- a/src/mesa/drivers/dri/unichrome/via_fb.c
+++ b/src/mesa/drivers/dri/unichrome/via_fb.c
@@ -156,7 +156,7 @@ via_alloc_texture(struct via_context *vmesa,
}
else if (t->memType == VIA_MEM_SYSTEM) {
- t->bufAddr = MESA_PBUFFER_ALLOC(t->size);
+ t->bufAddr = _mesa_malloc(t->size);
if (!t->bufAddr)
goto cleanup;
@@ -226,8 +226,8 @@ via_free_texture(struct via_context *vmesa, struct via_tex_buffer *t)
else if (t->memType == VIA_MEM_SYSTEM) {
remove_from_list(t);
vmesa->total_alloc[t->memType] -= t->size;
- MESA_PBUFFER_FREE(t->bufAddr);
- FREE(t);
+ _mesa_free(t->bufAddr);
+ _mesa_free(t);
}
else if (t->index && viaCheckBreadcrumb(vmesa, t->lastUsed)) {
via_do_free_texture( vmesa, t );