projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2276dcf
)
Mesa: fix number of buffers in st_draw_vbo().
author
Pekka Paalanen
<pq@iki.fi>
Sat, 8 Nov 2008 23:02:10 +0000
(
01:02
+0200)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 10 Nov 2008 18:16:15 +0000
(11:16 -0700)
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>
src/mesa/state_tracker/st_draw.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_draw.c
b/src/mesa/state_tracker/st_draw.c
index
7cf06da
..
4bc734b
100644
(file)
--- a/
src/mesa/state_tracker/st_draw.c
+++ b/
src/mesa/state_tracker/st_draw.c
@@
-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_input
s, vbuffer);
+ pipe->set_vertex_buffers(pipe,
num_vbuffer
s, vbuffer);
}