diff options
author | Pekka Paalanen <[email protected]> | 2008-11-09 01:02:10 +0200 |
---|---|---|
committer | Pekka Paalanen <[email protected]> | 2008-11-09 01:02:10 +0200 |
commit | 94631e63a8d56562b782ec30a6ec5b9d77ca70a0 (patch) | |
tree | 5649ca70210ef9eea5c2618261507ee1959a6d33 /src | |
parent | 72ae2bd85624ae994709c0c4b5e0933002c61854 (diff) |
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 <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/state_tracker/st_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_draw.c b/src/mesa/state_tracker/st_draw.c index bdf8648ef7c..fbf13aa8377 100644 --- a/src/mesa/state_tracker/st_draw.c +++ b/src/mesa/state_tracker/st_draw.c @@ -640,7 +640,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); } |