vbo: Fix array pointer calculation for MapBufferRange-mapped vertex data.
authorEric Anholt <eric@anholt.net>
Fri, 28 Aug 2009 21:44:55 +0000 (14:44 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 28 Aug 2009 22:29:35 +0000 (15:29 -0700)
commit8096aa521369c3bcf5226c060efa6dd06e48ddc8
treefc74042e497b8af912f028661405d992d1c875ec
parent2d5c74fac3cc0f9d45a9e11b2fcdea1bc67928c4
vbo: Fix array pointer calculation for MapBufferRange-mapped vertex data.

We would end up with the offset from the start of the mapping rather than
the offset from the start of the buffer.
src/mesa/vbo/vbo_exec_draw.c