Corrected return value

This commit is contained in:
Ray 2020-02-27 16:22:34 +01:00
parent b2098a2d60
commit c8464bc731

View File

@ -830,6 +830,7 @@ void ExportImage(Image image, const char *fileName)
// Export raw pixel data (without header)
// NOTE: It's up to the user to track image parameters
SaveFileData(fileName, image.data, GetPixelDataSize(image.width, image.height, image.format));
success = true;
}
RL_FREE(imgData);