aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mapi/glapi
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-05-30 14:40:29 +0200
committermarha <marha@users.sourceforge.net>2012-05-30 14:40:29 +0200
commitcdb76f76457c170cc61f040aea1a48517488cb46 (patch)
tree619806e79b757c71a7e3efba63807fa5e5afac38 /mesalib/src/mapi/glapi
parentc229f618dd10327675815351ad67f5533f283a9c (diff)
downloadvcxsrv-cdb76f76457c170cc61f040aea1a48517488cb46.tar.gz
vcxsrv-cdb76f76457c170cc61f040aea1a48517488cb46.tar.bz2
vcxsrv-cdb76f76457c170cc61f040aea1a48517488cb46.zip
Update filesthatshouldbethesame.py and synchronised files
Diffstat (limited to 'mesalib/src/mapi/glapi')
-rw-r--r--mesalib/src/mapi/glapi/gen/gl_gentable.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesalib/src/mapi/glapi/gen/gl_gentable.py b/mesalib/src/mapi/glapi/gen/gl_gentable.py
index 5657e3277..5078485c0 100644
--- a/mesalib/src/mapi/glapi/gen/gl_gentable.py
+++ b/mesalib/src/mapi/glapi/gen/gl_gentable.py
@@ -111,7 +111,7 @@ __glapi_gentable_set_remaining_noop(struct _glapi_table *disp) {
struct _glapi_table *
_glapi_create_table_from_handle(void *handle, const char *symbol_prefix) {
- struct _glapi_table *disp = calloc(1, sizeof(struct _glapi_table));
+ struct _glapi_table *disp = calloc(_glapi_get_dispatch_table_size(), sizeof(void*));
char symboln[512];
if(!disp)