summaryrefslogtreecommitdiff
path: root/src/mesa/main/execmem.c
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2005-11-28 13:17:15 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2005-11-28 13:17:15 +0000
commit2b8e66d210c333c1f9bdb4e2de079798f1c810f1 (patch)
treef3fb268b318353dfcbbca986d2d42dec189938de /src/mesa/main/execmem.c
parentaae2b8b8eba46594d0915725c57f45d2965b15d6 (diff)
Remove the many aliases for 'struct mem_block' in mm.h
Diffstat (limited to 'src/mesa/main/execmem.c')
-rw-r--r--src/mesa/main/execmem.c6
1 files changed, 3 insertions, 3 deletions
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);