mirror of
https://github.com/raysan5/raylib.git
synced 2025-10-08 19:06:27 +00:00
Corrected return value
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user