Corrected return value
This commit is contained in:
parent
b2098a2d60
commit
c8464bc731
@ -830,6 +830,7 @@ void ExportImage(Image image, const char *fileName)
|
|||||||
// Export raw pixel data (without header)
|
// Export raw pixel data (without header)
|
||||||
// NOTE: It's up to the user to track image parameters
|
// NOTE: It's up to the user to track image parameters
|
||||||
SaveFileData(fileName, image.data, GetPixelDataSize(image.width, image.height, image.format));
|
SaveFileData(fileName, image.data, GetPixelDataSize(image.width, image.height, image.format));
|
||||||
|
success = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
RL_FREE(imgData);
|
RL_FREE(imgData);
|
||||||
|
Loading…
Reference in New Issue
Block a user