Skip to content

Commit

Permalink
desktop/output: chase wlroots private fields update
Browse files Browse the repository at this point in the history
This will be replaced with a proper solution later.
  • Loading branch information
vyivel authored and emersion committed Oct 25, 2024
1 parent a630272 commit 015e357
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sway/desktop/output.c
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@ static enum wlr_scale_filter_mode get_scale_filter(struct sway_output *output,
struct wlr_scene_buffer *buffer) {
// if we are scaling down, we should always choose linear
if (buffer->dst_width > 0 && buffer->dst_height > 0 && (
buffer->dst_width < buffer->buffer_width ||
buffer->dst_height < buffer->buffer_height)) {
buffer->dst_width < buffer->WLR_PRIVATE.buffer_width ||
buffer->dst_height < buffer->WLR_PRIVATE.buffer_height)) {
return WLR_SCALE_FILTER_BILINEAR;
}

Expand Down

0 comments on commit 015e357

Please sign in to comment.