diff options
author | Keith Whitwell <[email protected]> | 2005-11-28 13:17:15 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2005-11-28 13:17:15 +0000 |
commit | 2b8e66d210c333c1f9bdb4e2de079798f1c810f1 (patch) | |
tree | f3fb268b318353dfcbbca986d2d42dec189938de /src/mesa/main/execmem.c | |
parent | aae2b8b8eba46594d0915725c57f45d2965b15d6 (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.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/execmem.c b/src/mesa/main/execmem.c index 89deaafad3a..1655fd66e6e 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); |