Module: Mesa
Branch: master
Commit: 5b2eddc40f141f40b9c152f6e45180932288b38e
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5b2eddc40f141f40b9c152f6e45180932288b38e

Author: Marek Olšák <[email protected]>
Date:   Sun Jan 15 22:01:39 2017 +0100

gallium/hud: increase the vertex buffer size for background quads

Reviewed-by: Nicolai Hähnle <[email protected]>

---

 src/gallium/auxiliary/hud/hud_context.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/auxiliary/hud/hud_context.c 
b/src/gallium/auxiliary/hud/hud_context.c
index 7fa62a9..9f067f3 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));
 

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to