vbo: don't look at the second draw's count when merging 2 glBegin/End draws
authorMarek Olšák <marek.olsak@amd.com>
Fri, 14 Feb 2020 04:15:47 +0000 (23:15 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 5 Mar 2020 00:54:42 +0000 (19:54 -0500)
commitfd8eb634fd93e61e47599fb74513eb0ab0bb3726
treefebba82c2bce26da5af0f25a2db05e4674bb8a9b
parente92a4f817d1f7a5094066e2a47a246fd5ccf94d6
vbo: don't look at the second draw's count when merging 2 glBegin/End draws

Only the first count needs to be aligned.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4052>
src/mesa/vbo/vbo_exec.c