summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/hud/hud_context.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-06-21 19:54:45 +0200
committerMarek Olšák <[email protected]>2017-06-26 02:17:03 +0200
commit7492201c4e7b7b3d6575a43673142d6735cb3977 (patch)
tree4908d58e210788291cf2c515d97557c2763cefdc /src/gallium/auxiliary/hud/hud_context.c
parentd1513edaa00b476f87c4dd397c3746f17f19196a (diff)
gallium/hud: rename API-thread-busy to main-thread-busy
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/hud/hud_context.c')
-rw-r--r--src/gallium/auxiliary/hud/hud_context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/hud/hud_context.c b/src/gallium/auxiliary/hud/hud_context.c
index cb7ed44659b..922ab969797 100644
--- a/src/gallium/auxiliary/hud/hud_context.c
+++ b/src/gallium/auxiliary/hud/hud_context.c
@@ -1194,8 +1194,8 @@ hud_parse_env_var(struct hud_context *hud, const char *env)
else if (sscanf(name, "cpu%u%s", &i, s) == 1) {
hud_cpu_graph_install(pane, i);
}
- else if (strcmp(name, "API-thread-busy") == 0) {
- hud_api_thread_busy_install(pane);
+ else if (strcmp(name, "main-thread-busy") == 0) {
+ hud_main_thread_busy_install(pane, name);
}
#if HAVE_GALLIUM_EXTRA_HUD
else if (sscanf(name, "nic-rx-%s", arg_name) == 1) {