aboutsummaryrefslogtreecommitdiff
path: root/scripts/benchmark.py
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2023-07-25 13:56:30 +0000
committerDaniel Eklöf <daniel@ekloef.se>2023-07-25 14:48:50 +0000
commit613c61abb44e49236a893376764eb21702c0ef32 (patch)
tree031ba19e912245a263f14cecd3c12db3043284c1 /scripts/benchmark.py
parentci (sr.ht): alpine no longer allows pip installing to the system installation (diff)
scaling: always round the scaling factor when converting to int
* In all calls to wl_subsurface_set_position() * (wp_viewport_set_destination() already does this) * Whenever we use the scale to calculate margins (search box, scrollback indicator etc) * Since the scaling factor is stored as a float (and not a double), use roundf() instead of round()
Diffstat (limited to 'scripts/benchmark.py')
0 files changed, 0 insertions, 0 deletions