mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-30 09:20:23 +01:00
fix bug in _playback_copy_to_current(): need to skip version position data (see bug 10587)
This commit is contained in:
parent
99193e4f74
commit
f11604a30d
1 changed files with 2 additions and 0 deletions
|
|
@ -58,6 +58,8 @@ static void _playback_copy_to_current( GLcontext *ctx,
|
|||
node->vertex_size * sizeof(GLfloat),
|
||||
data, node->vertex_store->bufferobj );
|
||||
|
||||
data += node->attrsz[0]; /* skip version position */
|
||||
|
||||
for (i = VBO_ATTRIB_POS+1 ; i < VBO_ATTRIB_MAX ; i++) {
|
||||
if (node->attrsz[i]) {
|
||||
GLfloat *current = (GLfloat *)vbo->currval[i].Ptr;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue