From: Edmondo Tommasina Date: Wed, 21 Dec 2016 21:58:12 +0000 (+0100) Subject: gallium/hud: set filedescriptor for cpu graph X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=94c9916710ad19aeec998cc44cbbe95945695e92;p=mesa.git gallium/hud: set filedescriptor for cpu graph Signed-off-by: Marek Olšák --- diff --git a/src/gallium/auxiliary/hud/hud_cpu.c b/src/gallium/auxiliary/hud/hud_cpu.c index c06e7770d63..c65444e1e56 100644 --- a/src/gallium/auxiliary/hud/hud_cpu.c +++ b/src/gallium/auxiliary/hud/hud_cpu.c @@ -213,6 +213,8 @@ hud_cpu_graph_install(struct hud_pane *pane, unsigned cpu_index) info = gr->query_data; info->cpu_index = cpu_index; + hud_graph_set_dump_file(gr); + hud_pane_add_graph(pane, gr); hud_pane_set_max_value(pane, 100); }