diff --git a/src/main.rs b/src/main.rs index ffe5e18..b13dfc5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -70,7 +70,7 @@ fn load_wallpaper(path: &Path) -> eyre::Result { match image_dimensions { (SCREEN_W, SCREEN_H) => {} - (SCREEN_H, SCREEN_W) => image = image.rotate90().flipv(), + (SCREEN_H, SCREEN_W) => image = image.rotate270(), _ => bail!("Image must be {SCREEN_W}x{SCREEN_H}"), } @@ -119,7 +119,7 @@ fn image_to_offimage_buffer(image: GrayAlphaImage) -> eyre::Result