glthread: fall back if a param size is non-zero and a pointer param is NULL
authorMarek Olšák <marek.olsak@amd.com>
Tue, 25 Feb 2020 01:52:06 +0000 (20:52 -0500)
committerMarge Bot <eric+marge@anholt.net>
Fri, 6 Mar 2020 01:06:14 +0000 (01:06 +0000)
commited0bea4495aef3dd50fc0c9b8b05836b58a3cfc1
tree15df2705e54232b4858d11f48450112eafac0a24
parent57a9c1ee478c5af8cc2f9ffe78b24917deebb1b3
glthread: fall back if a param size is non-zero and a pointer param is NULL

So that we don't crash. This is a GL error anyway.

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