Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
daxpedda authored and complexspaces committed Oct 6, 2023
1 parent 6946466 commit 5a627e9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/platform/windows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,7 @@ fn flip_v(image: ImageData) -> ImageData<'static> {
let mut bytes = image.bytes.into_owned();

let rowsize = w * 4; // each pixel is 4 bytes
let mut tmp_a = Vec::new();
tmp_a.resize(rowsize, 0);
let mut tmp_a = vec![0; rowsize];
// I believe this could be done safely with `as_chunks_mut`, but that's not stable yet
for a_row_id in 0..(h / 2) {
let b_row_id = h - a_row_id - 1;
Expand Down

0 comments on commit 5a627e9

Please sign in to comment.