Mesa (master): gallium/hud: increase vertex buffer size for background black rectangles
Marek Olšák
mareko at kemper.freedesktop.org
Tue Apr 16 12:04:01 UTC 2013
Module: Mesa
Branch: master
Commit: 332af88c391924c70bbcbeb4c131caea796534f6
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=332af88c391924c70bbcbeb4c131caea796534f6
Author: Marek Olšák <maraeo at gmail.com>
Date: Wed Apr 10 21:42:51 2013 +0200
gallium/hud: increase vertex buffer size for background black rectangles
Reviewed-by: Brian Paul <brianp at vmware.com>
---
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 7919bde..5ba80a1 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));
More information about the mesa-commit
mailing list