summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdmondo Tommasina <[email protected]>2016-12-21 22:58:12 +0100
committerMarek Olšák <[email protected]>2017-01-01 00:03:38 +0100
commit94c9916710ad19aeec998cc44cbbe95945695e92 (patch)
tree80b871241a0bdbf1213a1eb083438db0c61cfe7f
parent57f86fb3a8bde60e8c99a46fdccd0dc12377ffd2 (diff)
gallium/hud: set filedescriptor for cpu graph
Signed-off-by: Marek Olšák <[email protected]>
-rw-r--r--src/gallium/auxiliary/hud/hud_cpu.c2
1 files changed, 2 insertions, 0 deletions
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);
}