changed function params formatting
This commit is contained in:
parent
bbf884d7b3
commit
c91c2c72c8
|
|
@ -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