gallium: simplify/fix buffer_offset, src_offset computation for VBO arrays
authorBrian Paul <brian.paul@tungstengraphics.com>
Mon, 7 Jul 2008 16:08:43 +0000 (10:08 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Mon, 7 Jul 2008 16:10:20 +0000 (10:10 -0600)
commitb7dfabcaab020e89644f47ec243b231c21fece63
treec6fd4856db920a1557551004b3f51bd520f98338
parent3596339d31d05b7d5120290a7b866485c395b5f2
gallium: simplify/fix buffer_offset, src_offset computation for VBO arrays

Things broke when vertex position wasn't the first attribute.
src/mesa/state_tracker/st_draw.c