mirror of
https://github.com/raysan5/raylib.git
synced 2026-01-30 18:59:18 -05:00
changed function params formatting (#5160)
This commit is contained in:
@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user