glthread: ignore the return value of glUnmapBuffer, don't sync, and return true
authorMarek Olšák <marek.olsak@amd.com>
Thu, 11 Feb 2021 20:07:47 +0000 (15:07 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 17 Feb 2021 10:47:27 +0000 (05:47 -0500)
commitc59fd3acb9ef7442e5219758927738ffbdcf2e71
treef048458483690b0160913a79e80b025b0cd29b9e
parent638a18484907203e04c2bcd88b1fb4794b1db3f3
glthread: ignore the return value of glUnmapBuffer, don't sync, and return true

We always return GL_TRUE from the Unmap functions.

gl_marshal.py is modified so as not to use "return" in the unmarshal
function, which always returns void.

Reviewed-by: Zoltán Böszörményi <zboszor@gmail.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9029>
src/mapi/glapi/gen/EXT_direct_state_access.xml
src/mapi/glapi/gen/gl_API.xml
src/mapi/glapi/gen/gl_marshal.py
src/mapi/glapi/gen/gl_marshal_h.py