From b5e2ab63e8e3c4670c51453470fc9183343a22bf Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Sat, 31 Jan 2009 14:36:20 +0200 Subject: [PATCH] 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 --- src/gallium/drivers/nv20/nv20_vbo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/nv20/nv20_vbo.c b/src/gallium/drivers/nv20/nv20_vbo.c index 4edc4efebd8..24d8f4bef09 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; } -- 2.30.2