gallium/u_vbuf: simplify the first if statement in u_vbuf_upload_buffers
authorMarek Olšák <marek.olsak@amd.com>
Wed, 11 Mar 2020 23:28:44 +0000 (19:28 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 17 Mar 2020 19:13:57 +0000 (19:13 +0000)
commite4959add2f44517b2227521af5aaf2919aaa6c3b
tree4e9ddf58aac2f20e7646a98fe7150d7ea61519bb
parent99a29a20d2e7b931c5ee6478665f0784eca2c0d8
gallium/u_vbuf: simplify the first if statement in u_vbuf_upload_buffers

Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4153>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4153>
src/gallium/auxiliary/util/u_vbuf.c