st/mesa: Fix an incorrect user vertex buffer reference
authorThomas Hellstrom <thellstrom@vmware.com>
Mon, 7 Mar 2011 10:24:43 +0000 (11:24 +0100)
committerMarek Olšák <maraeo@gmail.com>
Tue, 8 Mar 2011 21:15:50 +0000 (22:15 +0100)
commit12fa91b6753dccbd3aa12c570d1f1e55c7dc0582
tree099029fb9de77b054af9d05a96055a472c8891f6
parentef58598c1cf2ac689f67c75b2f477f2c404fce98
st/mesa: Fix an incorrect user vertex buffer reference

st->user_vb[attr] was always pointing to the same user vb, regardless
of the value of attr. Together with reverting the temporary workaround
for bug 34378, and a fix in the svga driver, this fixes googleearth on svga.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
src/mesa/state_tracker/st_draw.c