mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 03:48:06 +02:00
mesa: update vao _EnabledWithMapMode in copy_array_object
Otherwise it can be out of sync.
Fixes: 306f1ef417 ("mesa: precompute _mesa_get_vao_vp_inputs")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4331
Reviewed-by: Witold Baryluk <witold.baryluk@gmail.com>
Tested-by: Witold Baryluk <witold.baryluk@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Zoltán Böszörményi <zboszor@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9199>
This commit is contained in:
parent
b0b1bf9957
commit
e346f61a91
1 changed files with 1 additions and 0 deletions
|
|
@ -1348,6 +1348,7 @@ copy_array_object(struct gl_context *ctx,
|
|||
|
||||
/* Enabled must be the same than on push */
|
||||
dest->Enabled = src->Enabled;
|
||||
dest->_EnabledWithMapMode = src->_EnabledWithMapMode;
|
||||
dest->_EffEnabledVBO = src->_EffEnabledVBO;
|
||||
dest->_EffEnabledNonZeroDivisor = src->_EffEnabledNonZeroDivisor;
|
||||
/* The bitmask of bound VBOs needs to match the VertexBinding array */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue