From 2b8e66d210c333c1f9bdb4e2de079798f1c810f1 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Mon, 28 Nov 2005 13:17:15 +0000 Subject: Remove the many aliases for 'struct mem_block' in mm.h --- src/mesa/main/execmem.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mesa/main/execmem.c') diff --git a/src/mesa/main/execmem.c b/src/mesa/main/execmem.c index 89deaafad3..1655fd66e6 100644 --- a/src/mesa/main/execmem.c +++ b/src/mesa/main/execmem.c @@ -52,7 +52,7 @@ _glthread_DECLARE_STATIC_MUTEX(exec_mutex); -static memHeap_t *exec_heap = NULL; +static struct mem_block *exec_heap = NULL; static unsigned char *exec_mem = NULL; @@ -72,7 +72,7 @@ init_heap(void) void * _mesa_exec_malloc(GLuint size) { - PMemBlock block = NULL; + struct mem_block *block = NULL; void *addr = NULL; _glthread_LOCK_MUTEX(exec_mutex); @@ -99,7 +99,7 @@ _mesa_exec_free(void *addr) _glthread_LOCK_MUTEX(exec_mutex); if (exec_heap) { - PMemBlock block = mmFindBlock(exec_heap, (unsigned char *)addr - exec_mem); + struct mem_block *block = mmFindBlock(exec_heap, (unsigned char *)addr - exec_mem); if (block) mmFreeMem(block); -- cgit v1.2.3