From: Marek Olšák Date: Sun, 25 Dec 2016 20:07:47 +0000 (+0100) Subject: gallium/hud: increase the vertex buffer size for text X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=431742dbba46b66e61a22f7186ec82a818685a31;p=mesa.git gallium/hud: increase the vertex buffer size for text Reviewed-by: Nicolai Hähnle --- diff --git a/src/gallium/auxiliary/hud/hud_context.c b/src/gallium/auxiliary/hud/hud_context.c index 805e1a7c4d1..7fa62a91866 100644 --- a/src/gallium/auxiliary/hud/hud_context.c +++ b/src/gallium/auxiliary/hud/hud_context.c @@ -566,7 +566,7 @@ hud_draw(struct hud_context *hud, struct pipe_resource *tex) /* prepare vertex buffers */ hud_alloc_vertices(hud, &hud->bg, 4 * 256, 2 * sizeof(float)); hud_alloc_vertices(hud, &hud->whitelines, 4 * 256, 2 * sizeof(float)); - hud_alloc_vertices(hud, &hud->text, 4 * 1024, 4 * sizeof(float)); + hud_alloc_vertices(hud, &hud->text, 16 * 1024, 4 * sizeof(float)); /* prepare all graphs */ hud_batch_query_update(hud->batch_query);