mesa: don't ever bind NullBufferObj for glBindBuffer targets
authorMarek Olšák <marek.olsak@amd.com>
Sun, 22 Mar 2020 02:49:03 +0000 (22:49 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 6 Apr 2020 14:28:53 +0000 (10:28 -0400)
commitf3cce7087a562f77be7306e70d4e62bc214bb5fa
tree1d5f93dc13deb0e7822a9296a4b48f61442ec665
parente630271e0ec3eee7d921d76d3924873f6ee6b59b
mesa: don't ever bind NullBufferObj for glBindBuffer targets

Since VAOs don't use NullBufferObj for vertex attribs anymore, let's remove
more uses of NullBufferObj.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4466>
16 files changed:
src/mesa/drivers/x11/xm_dd.c
src/mesa/main/arrayobj.c
src/mesa/main/attrib.c
src/mesa/main/bufferobj.c
src/mesa/main/draw.c
src/mesa/main/get.c
src/mesa/main/pixel.c
src/mesa/main/pixelstore.c
src/mesa/main/queryobj.c
src/mesa/main/texstate.c
src/mesa/main/transformfeedback.c
src/mesa/main/varray.c
src/mesa/tnl/t_rebase.c
src/mesa/tnl/t_split_copy.c
src/mesa/tnl/t_split_inplace.c
src/mesa/vbo/vbo_primitive_restart.c