Mesa (master): Revert "hud: don't overrun malloced arrays"
Dave Airlie
airlied at kemper.freedesktop.org
Fri Aug 15 23:16:41 UTC 2014
Module: Mesa
Branch: master
Commit: e2594ee882d83b3cc6d08187dbd720da6142f05e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e2594ee882d83b3cc6d08187dbd720da6142f05e
Author: Dave Airlie <airlied at gmail.com>
Date: Sat Aug 16 09:14:17 2014 +1000
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 <airlied at redhat.com>
---
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 a05d3c4..b6e0184 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);
More information about the mesa-commit
mailing list