mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 13:00:09 +01:00
gallium/hud: fix printing byte units
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
6b47b89781
commit
130a03e360
1 changed files with 1 additions and 1 deletions
|
|
@ -235,7 +235,7 @@ number_to_human_readable(uint64_t num, enum pipe_driver_query_type type,
|
|||
char *out)
|
||||
{
|
||||
static const char *byte_units[] =
|
||||
{"", " KB", " MB", " GB", " TB", " PB", " EB"};
|
||||
{" B", " KB", " MB", " GB", " TB", " PB", " EB"};
|
||||
static const char *metric_units[] =
|
||||
{"", " k", " M", " G", " T", " P", " E"};
|
||||
static const char *time_units[] =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue