Module: Mesa Branch: gallium-0.2 Commit: b5e2ab63e8e3c4670c51453470fc9183343a22bf URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b5e2ab63e8e3c4670c51453470fc9183343a22bf
Author: Pekka Paalanen <[email protected]> Date: Sat Jan 31 14:36:20 2009 +0200 nv20: draw_elements needs to flush nv20_draw_elements() uses the draw module, and draw_flush() needs to be called to actually emit the vertices immediately. Signed-off-by: Pekka Paalanen <[email protected]> --- src/gallium/drivers/nv20/nv20_vbo.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/gallium/drivers/nv20/nv20_vbo.c b/src/gallium/drivers/nv20/nv20_vbo.c index 4edc4ef..24d8f4b 100644 --- a/src/gallium/drivers/nv20/nv20_vbo.c +++ b/src/gallium/drivers/nv20/nv20_vbo.c @@ -64,6 +64,7 @@ boolean nv20_draw_elements( struct pipe_context *pipe, draw_set_mapped_element_buffer(draw, 0, NULL); } + draw_flush(nv20->draw); return TRUE; } _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
