vbo: delay flagging FLUSH_STORED_VERTICES until glEnd
authorMarek Olšák <marek.olsak@amd.com>
Sat, 1 Feb 2020 01:33:14 +0000 (20:33 -0500)
committerMarge Bot <eric+marge@anholt.net>
Tue, 11 Feb 2020 00:34:57 +0000 (00:34 +0000)
commit27bd241103e8fa1fc34859cac6bd23d5a5fb04fe
tree3f9c77de56b35b8f1758a233bc32abafff452de4
parentca99fe8a603b08883493c786037ca872c00df145
vbo: delay flagging FLUSH_STORED_VERTICES until glEnd

Only state changes see this, which can't occur before glEnd.

Reviewed-by: Mathias Fröhlich <mathias.froehlich@web.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3766>
src/mesa/vbo/vbo_exec_api.c