From ced98f17efc73c313700bbf936f7258131037ef3 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 17 Jan 2013 16:53:31 -0800 Subject: 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 Reviewed-by: Ian Romanick --- src/mesa/main/dlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/main/dlist.c') 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; -- cgit v1.2.3