projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d54cd7
)
gallium/hud: increase the vertex buffer size for text
author
Marek Olšák
<marek.olsak@amd.com>
Sun, 25 Dec 2016 20:07:47 +0000
(21:07 +0100)
committer
Marek Olšák
<marek.olsak@amd.com>
Thu, 5 Jan 2017 17:30:00 +0000
(18:30 +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 805e1a7c4d1ebe2250320005ce6b36f36afdca9d..7fa62a91866b2b0ec45dfaa05e081932988935ab 100644
(file)
--- 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);