projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbad303
)
gallium/hud: fix printing % next to panes
author
Marek Olšák
<marek.olsak@amd.com>
Sun, 2 Aug 2015 16:11:09 +0000
(18:11 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Thu, 6 Aug 2015 18:44:36 +0000
(20:44 +0200)
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/auxiliary/hud/hud_context.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/hud/hud_context.c
b/src/gallium/auxiliary/hud/hud_context.c
index d3ad271f515c97fb1d534bd96885bcf1e4ad8c07..275070d16644ba6389ebf1ccbd1bc29e228760a6 100644
(file)
--- a/
src/gallium/auxiliary/hud/hud_context.c
+++ b/
src/gallium/auxiliary/hud/hud_context.c
@@
-332,7
+332,7
@@
hud_pane_accumulate_vertices(struct hud_context *hud,
number_to_human_readable(pane->max_value * i / 5,
pane->type, str);
- hud_draw_string(hud, x, y, str);
+ hud_draw_string(hud, x, y,
"%s",
str);
}
/* draw info below the pane */