Some code tweaks
This commit is contained in:
parent
c828e481fb
commit
0369ec9adf
4 changed files with 10 additions and 10 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue