projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b0e9ba
)
gallium/hud: increase the vertex buffer size for background quads
author
Marek Olšák
<marek.olsak@amd.com>
Sun, 15 Jan 2017 21:01:39 +0000
(22:01 +0100)
committer
Marek Olšák
<marek.olsak@amd.com>
Mon, 16 Jan 2017 14:35:30 +0000
(15:35 +0100)
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/auxiliary/hud/hud_context.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/hud/hud_context.c
b/src/gallium/auxiliary/hud/hud_context.c
index 7fa62a91866b2b0ec45dfaa05e081932988935ab..9f067f3dfdb0833569097ab8934c9a82e87018b6 100644
(file)
--- 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));