diff options
author | Eric Anholt <[email protected]> | 2013-01-17 16:53:31 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2013-01-21 21:26:47 -0800 |
commit | ced98f17efc73c313700bbf936f7258131037ef3 (patch) | |
tree | e4e74808be08e55ee5e291c086e040f5d9532d21 /src/mesa/main/dlist.c | |
parent | cb49016622312082a636640488be50bef6b379ed (diff) |
mesa: Remove the size argument from _mesa_alloc_dispatch_table().
All callers are in Mesa core and all use _gloffset_COUNT, so just rely on
the already baked-in use of _gloffset_COUNT in the function.
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/dlist.c')
-rw-r--r-- | src/mesa/main/dlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c index 1898632bb7e..7eb2cb2011d 100644 --- a/src/mesa/main/dlist.c +++ b/src/mesa/main/dlist.c @@ -9571,7 +9571,7 @@ _mesa_create_save_table(const struct gl_context *ctx) { struct _glapi_table *table; - table = _mesa_alloc_dispatch_table(_gloffset_COUNT); + table = _mesa_alloc_dispatch_table(); if (table == NULL) return NULL; |