summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2014-08-16 09:14:17 +1000
committerDave Airlie <[email protected]>2014-08-16 09:15:19 +1000
commite2594ee882d83b3cc6d08187dbd720da6142f05e (patch)
tree650bd886f8681f7133e71ba90c0d252d48d551b7
parent14c1a2a94c3d7c0ba375d2b0953b025112b21392 (diff)
Revert "hud: don't overrun malloced arrays"
This reverts commit 1cfcd0164e1be7d7b05b693f60a262ad735b7565. This seems to cause r600g lockups, https://bugs.freedesktop.org/show_bug.cgi?id=82628 Signed-off-by: Dave Airlie <[email protected]>
-rw-r--r--src/gallium/auxiliary/hud/hud_context.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/hud/hud_context.c b/src/gallium/auxiliary/hud/hud_context.c
index a05d3c41e33..b6e018423ed 100644
--- a/src/gallium/auxiliary/hud/hud_context.c
+++ b/src/gallium/auxiliary/hud/hud_context.c
@@ -532,7 +532,6 @@ hud_draw(struct hud_context *hud, struct pipe_resource *tex)
pipe_resource_reference(&hud->text.vbuf.buffer, NULL);
/* draw the rest */
- cso_set_vertex_elements(cso, 1, hud->velems);
LIST_FOR_EACH_ENTRY(pane, &hud->pane_list, head) {
if (pane)
hud_pane_draw_colored_objects(hud, pane);