From e2594ee882d83b3cc6d08187dbd720da6142f05e Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sat, 16 Aug 2014 09:14:17 +1000 Subject: [PATCH] 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 --- src/gallium/auxiliary/hud/hud_context.c | 1 - 1 file changed, 1 deletion(-) 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); -- 2.30.2