st/mesa: fix zero-sized user vertex buffer bug
authorBrian Paul <brianp@vmware.com>
Mon, 4 Apr 2011 23:24:09 +0000 (17:24 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 4 Apr 2011 23:42:43 +0000 (17:42 -0600)
commit6cab07685fa48174b310e52b26151a8fb8a8e6dc
tree2975999a01ba63fb6a27e9d7e08412f2ba53d588
parente397b3a7c051b70a574e34096b70fc98e4e84b2c
st/mesa: fix zero-sized user vertex buffer bug

Commit 4c4ab5668cd6df573db7b065f0493fb80ac70ab8 didn't properly
handle the stride==0 case.

Fixes https://bugs.freedesktop.org/show_bug.cgi?id=35961
src/mesa/state_tracker/st_draw.c