diff options
author | Marek Olšák <[email protected]> | 2017-01-15 22:01:39 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-01-16 15:35:30 +0100 |
commit | 5b2eddc40f141f40b9c152f6e45180932288b38e (patch) | |
tree | f1a66ce08e4f03cd027a2b4b90e3d31418eb620b /src/gallium/auxiliary/hud | |
parent | 4b0e9babc673bc4dd834127086982e290b2a3a42 (diff) |
gallium/hud: increase the vertex buffer size for background quads
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/hud')
-rw-r--r-- | src/gallium/auxiliary/hud/hud_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/hud/hud_context.c b/src/gallium/auxiliary/hud/hud_context.c index 7fa62a91866..9f067f3dfdb 100644 --- a/src/gallium/auxiliary/hud/hud_context.c +++ b/src/gallium/auxiliary/hud/hud_context.c @@ -564,7 +564,7 @@ hud_draw(struct hud_context *hud, struct pipe_resource *tex) cso_set_constant_buffer(cso, PIPE_SHADER_VERTEX, 0, &hud->constbuf); /* prepare vertex buffers */ - hud_alloc_vertices(hud, &hud->bg, 4 * 256, 2 * sizeof(float)); + hud_alloc_vertices(hud, &hud->bg, 16 * 256, 2 * sizeof(float)); hud_alloc_vertices(hud, &hud->whitelines, 4 * 256, 2 * sizeof(float)); hud_alloc_vertices(hud, &hud->text, 16 * 1024, 4 * sizeof(float)); |