mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
wayland: 'mode' is unused when LOG_ENABLE_DBG is not set
This commit is contained in:
parent
7e3da3007b
commit
43e27a8843
1 changed files with 1 additions and 1 deletions
|
|
@ -2058,7 +2058,7 @@ surface_scale_explicit_width_height(
|
|||
wp_viewport_set_destination(
|
||||
surf->viewport, roundf(width / scale), roundf(height / scale));
|
||||
} else {
|
||||
const char *mode = term_preferred_buffer_scale(win->term)
|
||||
const char *mode UNUSED = term_preferred_buffer_scale(win->term)
|
||||
? "wl_surface.preferred_buffer_scale"
|
||||
: "legacy mode";
|
||||
LOG_DBG("scaling by a factor of %.2f using %s "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue