glthread: don't increment variable_data if it's the last variable-size param
authorMarek Olšák <marek.olsak@amd.com>
Wed, 19 Feb 2020 23:45:56 +0000 (18:45 -0500)
committerMarge Bot <eric+marge@anholt.net>
Fri, 6 Mar 2020 01:06:14 +0000 (01:06 +0000)
commit30b6e8236400deac08aec6b0334f78b7eacb62d9
tree3bd847b83a5f5adc61581ddc7dfe730ac4be5944
parent19dc528bbf74cb823c87420ee3e5b8cb6495a199
glthread: don't increment variable_data if it's the last variable-size param

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948>
src/mapi/glapi/gen/gl_marshal.py