From: Dave Airlie Date: Fri, 15 Aug 2014 23:14:17 +0000 (+1000) Subject: Revert "hud: don't overrun malloced arrays" X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e2594ee882d83b3cc6d08187dbd720da6142f05e;p=mesa.git 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 --- 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);