mesa: Set correct array element in vbo_exec_vtx_init.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 15 Sep 2014 06:45:38 +0000 (23:45 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 25 Sep 2014 06:14:23 +0000 (23:14 -0700)
commitf81052dc9b99eca765a44decd01af0335350d0b2
treee427e8976baa862dcbe75ca485491cb18c0f5016
parentd0ec6e85099af68b8a36f9815f4e3d43d767bb38
mesa: Set correct array element in vbo_exec_vtx_init.

I'm not familiar with this code, but this sure appears to be a typo.
It looks like the intent is to set each array element, not arrays[0]
each time.  Notably, the loop just below uses "array", not "arrays".

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Fredrik Höglund <fredrik@kde.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
Cc: mesa-stable@lists.freedesktop.org
src/mesa/vbo/vbo_exec_api.c