diff options
author | Keith Whitwell <[email protected]> | 2008-04-19 17:27:52 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2008-04-19 17:27:52 +0100 |
commit | 7d72607e142c0412b88183b849fd701e698b8f79 (patch) | |
tree | 53fe84cfb03756d5dd1d04c785ff4862113255c4 /src/mesa/state_tracker/st_draw.c | |
parent | dcf6f776ce32b89b7ff784bb38030bd29698e005 (diff) |
draw: move incoming vertex state into draw->pt
This state is effectively private to the vertex processing part
of the draw module.
Diffstat (limited to 'src/mesa/state_tracker/st_draw.c')
-rw-r--r-- | src/mesa/state_tracker/st_draw.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/state_tracker/st_draw.c b/src/mesa/state_tracker/st_draw.c index f0f62246ddc..befcb96bd89 100644 --- a/src/mesa/state_tracker/st_draw.c +++ b/src/mesa/state_tracker/st_draw.c @@ -611,10 +611,10 @@ st_feedback_draw_vbo(GLcontext *ctx, * unmap vertex/index buffers */ for (i = 0; i < PIPE_MAX_ATTRIBS; i++) { - if (draw->vertex_buffer[i].buffer) { + if (draw->pt.vertex_buffer[i].buffer) { pipe->winsys->buffer_unmap(pipe->winsys, - draw->vertex_buffer[i].buffer); - pipe_buffer_reference(winsys, &draw->vertex_buffer[i].buffer, NULL); + draw->pt.vertex_buffer[i].buffer); + pipe_buffer_reference(winsys, &draw->pt.vertex_buffer[i].buffer, NULL); draw_set_mapped_vertex_buffer(draw, i, NULL); } } |