mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
gallium/hud: fix printing % next to panes
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
This commit is contained in:
parent
cbad30344d
commit
4e2a3e0376
1 changed files with 1 additions and 1 deletions
|
|
@ -332,7 +332,7 @@ hud_pane_accumulate_vertices(struct hud_context *hud,
|
||||||
|
|
||||||
number_to_human_readable(pane->max_value * i / 5,
|
number_to_human_readable(pane->max_value * i / 5,
|
||||||
pane->type, str);
|
pane->type, str);
|
||||||
hud_draw_string(hud, x, y, str);
|
hud_draw_string(hud, x, y, "%s", str);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* draw info below the pane */
|
/* draw info below the pane */
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue