Skip to content

Commit

Permalink
Fixed regression due to previous mirroring fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shai-almog authored Dec 20, 2022
1 parent da750f2 commit 0e577f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,7 @@ public Image rotate270Degrees(Image image, boolean maintainOpacity) {

for(int y = 0 ; y < height ; y++) {
for(int x = 0 ; x < width ; x++) {
newRGB[y + (height - x) * height] = rgb[x + y * width];
newRGB[y + (width - x) * height] = rgb[x + y * width];
}
}

Expand Down

0 comments on commit 0e577f6

Please sign in to comment.