aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mapi/glapi
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2014-09-08 23:30:36 +0200
committermarha <marha@users.sourceforge.net>2014-09-08 23:30:36 +0200
commite16399e57caac9e859a7d28921c73ef9839b571e (patch)
treeb86ed43f749ebfe0bb3842fcd76a34e386011fcc /mesalib/src/mapi/glapi
parent166caebfaa2b217332a345ffb02c5b9e52f65a3d (diff)
parentcb346e228aeb500cd61ec86644c034c238332d3b (diff)
downloadvcxsrv-e16399e57caac9e859a7d28921c73ef9839b571e.tar.gz
vcxsrv-e16399e57caac9e859a7d28921c73ef9839b571e.tar.bz2
vcxsrv-e16399e57caac9e859a7d28921c73ef9839b571e.zip
Merge remote-tracking branch 'origin/released'
Diffstat (limited to 'mesalib/src/mapi/glapi')
-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 f71e06fe4..73e39ae4b 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(1, _glapi_get_dispatch_table_size() * sizeof(_glapi_proc));
+ struct _glapi_table *disp = calloc(_glapi_get_dispatch_table_size(), sizeof(_glapi_proc));
char symboln[512];
if(!disp)