Merge pull request #963 from emersion/rootston-output-outdated-comment

rootston: remove outdated comment
This commit is contained in:
emersion 2018-05-08 16:18:30 +01:00 committed by GitHub
commit c5c5747060
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -174,9 +174,8 @@ static void scissor_output(struct roots_output *output, pixman_box32_t *rect) {
}; };
int ow, oh; 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 = enum wl_output_transform transform =
wlr_output_transform_invert(wlr_output->transform); wlr_output_transform_invert(wlr_output->transform);
wlr_box_transform(&box, transform, ow, oh, &box); wlr_box_transform(&box, transform, ow, oh, &box);