nv20: draw_elements needs to flush
authorPekka Paalanen <pq@iki.fi>
Sat, 31 Jan 2009 12:36:20 +0000 (14:36 +0200)
committerPekka Paalanen <pq@iki.fi>
Sat, 31 Jan 2009 21:41:22 +0000 (23:41 +0200)
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 <pq@iki.fi>
src/gallium/drivers/nv20/nv20_vbo.c

index 4edc4efebd841f95a5242c0f3078a3eed42aadd4..24d8f4bef094f5e630f90152b0153e26492d6339 100644 (file)
@@ -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;
 }