aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mapi/glapi/gen/gl_gentable.py
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2014-05-23 19:43:56 +0200
committermarha <marha@users.sourceforge.net>2014-05-23 19:43:56 +0200
commit1c96f09adce1625dcbae5fe303d7c551a6c1bad3 (patch)
tree70b5bbde90432287ae91513b8a4edcc55fcf9e9e /mesalib/src/mapi/glapi/gen/gl_gentable.py
parent697c9a1917acd36a1b99e0d263baf2514446ca11 (diff)
parent63bfcd0be46413dda8c22b914d12f66ea5d5c66d (diff)
downloadvcxsrv-1c96f09adce1625dcbae5fe303d7c551a6c1bad3.tar.gz
vcxsrv-1c96f09adce1625dcbae5fe303d7c551a6c1bad3.tar.bz2
vcxsrv-1c96f09adce1625dcbae5fe303d7c551a6c1bad3.zip
Merge remote-tracking branch 'origin/released'
Conflicts: mesalib/src/mapi/glapi/gen/gl_gentable.py xorg-server/include/servermd.h
Diffstat (limited to 'mesalib/src/mapi/glapi/gen/gl_gentable.py')
-rwxr-xr-xmesalib/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 1c704452f..bbf985d77 100755
--- a/mesalib/src/mapi/glapi/gen/gl_gentable.py
+++ b/mesalib/src/mapi/glapi/gen/gl_gentable.py
@@ -113,7 +113,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(_glapi_get_dispatch_table_size(), sizeof(void*));
+ struct _glapi_table *disp = calloc(1, _glapi_get_dispatch_table_size() * sizeof(_glapi_proc));
char symboln[512];
if(!disp)