mesa: Flag _NEW_ARRAY only if we are changing ctx->Array.VAO.
authorMathias Fröhlich <mathias.froehlich@web.de>
Sun, 13 May 2018 07:18:57 +0000 (09:18 +0200)
committerMathias Fröhlich <Mathias.Froehlich@gmx.net>
Thu, 17 May 2018 18:13:39 +0000 (20:13 +0200)
commit984cb4e512f47fe6682f51985a0722c95e21f446
treeb0a05be708b1b55226b04efca5bb18a3d9b33143
parent5c7e3a90edf81000b8295ad9bb1029b8a24c6007
mesa: Flag _NEW_ARRAY only if we are changing ctx->Array.VAO.

For the VAO internal helper functions that may be called
with a non current VAO, flag the _NEW_ARRAY state only
if it is the current ctx->Array.VAO.

Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
src/mesa/main/varray.c