diff options
author | Chia-I Wu <[email protected]> | 2010-10-26 04:25:45 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-10-27 11:11:11 +0800 |
commit | b762db62c2972506fa78a5ed72f796113fc9b0d1 (patch) | |
tree | 9921c770f488c82c1368eb074659e33493459460 /src/mesa/main/api_exec.c | |
parent | aefd4f76ea52d0480d63e053d2e2c768dd40a470 (diff) |
mesa: Remove unnecessary glapitable.h includes.
With 07b85457d95bcc70588584e9380c51cd63aa3a2b, glapitable.h is included
by core mesa only to know the size of _glapi_table. It is not necessary
as the same info is given by _gloffset_COUNT.
This change makes _glapi_table opaque to core mesa. All operations on
it are supposed to go through one of the SET/GET/CALL macros.
Diffstat (limited to 'src/mesa/main/api_exec.c')
-rw-r--r-- | src/mesa/main/api_exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/api_exec.c b/src/mesa/main/api_exec.c index cd002f6bc27..fc38e19a539 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; |