Skip to content

Commit

Permalink
Fix for aspect stretch
Browse files Browse the repository at this point in the history
  • Loading branch information
emoon committed Jul 24, 2024
1 parent ee7158e commit d62b0f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/native/posix/scalar.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ void image_resize_linear_aspect_fill(
const int offset = (new_width - dst_width) / -2;
image_resize_linear_stride(
dst + offset,
dst_height, dst_width,
new_width, dst_height,
src, src_width, src_height, src_stride,
new_width
dst_width
);
}
}
Expand Down

0 comments on commit d62b0f5

Please sign in to comment.