summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv20
diff options
context:
space:
mode:
authorPekka Paalanen <[email protected]>2009-01-31 14:36:20 +0200
committerPekka Paalanen <[email protected]>2009-01-31 23:41:22 +0200
commitb5e2ab63e8e3c4670c51453470fc9183343a22bf (patch)
treede896c17d56cd1936fefda81d00d167c66c466c5 /src/gallium/drivers/nv20
parent5e96feed379c89e71834f372af6ba92098874d63 (diff)
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]>
Diffstat (limited to 'src/gallium/drivers/nv20')
-rw-r--r--src/gallium/drivers/nv20/nv20_vbo.c1
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 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;
}