mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-26 06:35:58 +01:00
rootston: remove outdated comment
This commit is contained in:
parent
397ee7ff9d
commit
6436ce6300
1 changed files with 1 additions and 2 deletions
|
@ -174,9 +174,8 @@ static void scissor_output(struct roots_output *output, pixman_box32_t *rect) {
|
|||
};
|
||||
|
||||
int ow, oh;
|
||||
wlr_output_transformed_resolution(output->wlr_output, &ow, &oh);
|
||||
wlr_output_transformed_resolution(wlr_output, &ow, &oh);
|
||||
|
||||
// Scissor is in renderer coordinates, ie. upside down
|
||||
enum wl_output_transform transform =
|
||||
wlr_output_transform_invert(wlr_output->transform);
|
||||
wlr_box_transform(&box, transform, ow, oh, &box);
|
||||
|
|
Loading…
Reference in a new issue