Mesa: fix number of buffers in st_draw_vbo().
The clean-up call to pipe->set_vertex_buffers() should use the same number of buffers as the first call. Signed-off-by: Pekka Paalanen <pq@iki.fi>
This commit is contained in:
committed by
Brian Paul
parent
2276dcf05f
commit
eb4dded5be
@@ -672,7 +672,7 @@ st_draw_vbo(GLcontext *ctx,
|
||||
pipe_buffer_reference(pipe->screen, &vbuffer[attr].buffer, NULL);
|
||||
assert(!vbuffer[attr].buffer);
|
||||
}
|
||||
pipe->set_vertex_buffers(pipe, vp->num_inputs, vbuffer);
|
||||
pipe->set_vertex_buffers(pipe, num_vbuffers, vbuffer);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user