glapi: skip padding in get_called_parameter_string
authorPaul Berry <stereotype441@gmail.com>
Wed, 7 Nov 2012 21:49:41 +0000 (13:49 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 19 Apr 2013 17:12:36 +0000 (10:12 -0700)
commit57b7c20ca59eb232cbd0a3a8368d603cbc06c215
tree72868c6393248f9c6c0a9234702f42315200ed92
parentfe955dc6b626a43036ff2a4cfe44511e10a09332
glapi: skip padding in get_called_parameter_string

This bug is currently benign, since get_called_parameter_string() is
currently only used for functions that return true for
glx_function.has_different_protocol(), and none of those functions
include padding.  However, in order to implement marshalling of GL API
functions, we'll need to use get_called_parameter_string() far more
often.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mapi/glapi/gen/gl_XML.py