mesa: fix incorrect uses of FLUSH_CURRENT
authorMarek Olšák <marek.olsak@amd.com>
Thu, 23 Jan 2020 00:09:23 +0000 (19:09 -0500)
committerMarge Bot <eric+marge@anholt.net>
Tue, 11 Feb 2020 00:34:57 +0000 (00:34 +0000)
commitc7c8fe1cc1a972e59885cc14778dbf5a520f48dd
treebaa6d6fb03659ec4943724a9bd1d434ec07dff70
parent01443dc7383f4634e4a66fa194ed51db74186128
mesa: fix incorrect uses of FLUSH_CURRENT

FLUSH_CURRENT is used to copy attributes from the vbo module to
Current.Attrib. It flushes vertices too, but that's a side effect,
not the intent.

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