From: Marek Olšák Date: Wed, 10 Apr 2013 19:42:51 +0000 (+0200) Subject: gallium/hud: increase vertex buffer size for background black rectangles X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=332af88c391924c70bbcbeb4c131caea796534f6;p=mesa.git gallium/hud: increase vertex buffer size for background black rectangles Reviewed-by: Brian Paul --- diff --git a/src/gallium/auxiliary/hud/hud_context.c b/src/gallium/auxiliary/hud/hud_context.c index 7919bdea529..5ba80a15ac3 100644 --- a/src/gallium/auxiliary/hud/hud_context.c +++ b/src/gallium/auxiliary/hud/hud_context.c @@ -463,7 +463,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 * 64, 2 * sizeof(float)); + hud_alloc_vertices(hud, &hud->bg, 4 * 128, 2 * sizeof(float)); hud_alloc_vertices(hud, &hud->whitelines, 4 * 256, 2 * sizeof(float)); hud_alloc_vertices(hud, &hud->text, 4 * 512, 4 * sizeof(float));