summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/api_exec.c
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-10-29 12:45:04 +0800
committerChia-I Wu <[email protected]>2010-10-29 12:46:59 +0800
commit9de5c6a1cb1428154c371f4331b55b5161957b50 (patch)
treed4a40efee4d53646fb0350c7e4cf1472bd42a98c /src/mesa/main/api_exec.c
parent815faa448cccc38aebb1b60ecf0bd7e6bf8f277e (diff)
parentb762db62c2972506fa78a5ed72f796113fc9b0d1 (diff)
Merge branch 'glapi-reorg'
Conflicts: src/mapi/glapi/glapi_sparc.S src/mapi/glapi/glapi_x86.S src/mapi/glapi/glapidispatch.h src/mapi/glapi/glapioffsets.h src/mapi/glapi/glprocs.h
Diffstat (limited to 'src/mesa/main/api_exec.c')
-rw-r--r--src/mesa/main/api_exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/api_exec.c b/src/mesa/main/api_exec.c
index 9cba6320d0d..5f8ce3927c2 100644
--- a/src/mesa/main/api_exec.c
+++ b/src/mesa/main/api_exec.c
@@ -160,7 +160,7 @@ _mesa_create_exec_table(void)
{
struct _glapi_table *exec;
- exec = _mesa_alloc_dispatch_table(sizeof *exec);
+ exec = _mesa_alloc_dispatch_table(_gloffset_COUNT);
if (exec == NULL)
return NULL;