Skip to content

Commit

Permalink
Add missing max_size to ImageEnsureMaxSize
Browse files Browse the repository at this point in the history
  • Loading branch information
MSylvia authored and lets-all-be-stupid-forever committed Jan 11, 2025
1 parent 524179f commit fc0fb5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/img.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ void ImageRemoveBlacks(Image* img);
void ImageAddBlacks(Image img);

// Ensures an image is smaller than a given size. (defined by a macro)
void ImageEnsureMaxSize(Image* img);
void ImageEnsureMaxSize(Image* img, int max_size);

// Returns the RectangleInt containing the whole image.
RectangleInt GetImageRect(Image img);
Expand Down

0 comments on commit fc0fb5b

Please sign in to comment.