mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-23 20:30:30 +01:00
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:
parent
2276dcf05f
commit
eb4dded5be
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue