changed function params formatting (#5160)
This commit is contained in:
parent
d9cb078299
commit
fce888c0c0
|
|
@ -1713,7 +1713,7 @@ Image ImageFromChannel(Image image, int selectedChannel)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Resize and image to new size using Nearest-Neighbor scaling algorithm
|
// Resize and image to new size using Nearest-Neighbor scaling algorithm
|
||||||
void ImageResizeNN(Image *image,int newWidth,int newHeight)
|
void ImageResizeNN(Image *image, int newWidth, int newHeight)
|
||||||
{
|
{
|
||||||
// Security check to avoid program crash
|
// Security check to avoid program crash
|
||||||
if ((image->data == NULL) || (image->width == 0) || (image->height == 0)) return;
|
if ((image->data == NULL) || (image->width == 0) || (image->height == 0)) return;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user