From: Marek Olšák Date: Sun, 15 Jan 2017 21:01:39 +0000 (+0100) Subject: gallium/hud: increase the vertex buffer size for background quads X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5b2eddc40f141f40b9c152f6e45180932288b38e;p=mesa.git gallium/hud: increase the vertex buffer size for background quads Reviewed-by: Nicolai Hähnle --- 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));