mirror of
https://github.com/raysan5/raylib.git
synced 2025-10-08 10:56:28 +00:00
Some code tweaks
This commit is contained in:
@@ -1354,7 +1354,7 @@ void ImageResize(Image *image, int newWidth, int newHeight)
|
||||
if (fastPath)
|
||||
{
|
||||
int bytesPerPixel = GetPixelDataSize(1, 1, image->format);
|
||||
unsigned char *output = RL_MALLOC(newWidth*newHeight*bytesPerPixel);
|
||||
unsigned char *output = (unsigned char *)RL_MALLOC(newWidth*newHeight*bytesPerPixel);
|
||||
|
||||
switch (image->format)
|
||||
{
|
||||
|
Reference in New Issue
Block a user