Corrected return value
This commit is contained in:
parent
b2098a2d60
commit
c8464bc731
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue