diff options
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/auxiliary/hud/hud_context.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/hud/hud_context.c b/src/gallium/auxiliary/hud/hud_context.c index 60355cabc77..65b82473b83 100644 --- a/src/gallium/auxiliary/hud/hud_context.c +++ b/src/gallium/auxiliary/hud/hud_context.c @@ -476,6 +476,9 @@ hud_draw(struct hud_context *hud, struct pipe_resource *tex) hud_pane_accumulate_vertices(hud, pane); } + /* unmap the uploader's vertex buffer before drawing */ + u_upload_flush(hud->uploader); + /* draw accumulated vertices for background quads */ cso_set_fragment_shader_handle(hud->cso, hud->fs_color); |