diff options
| author | Ray <[email protected]> | 2020-02-27 16:22:34 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2020-02-27 16:22:34 +0100 |
| commit | c8464bc731f57587a1c7e7cbad440bf89cc99621 (patch) | |
| tree | fe4cd73f72ddbeb8ba58e98f85b022e182dcf2ad | |
| parent | b2098a2d60ea343a68bb8d3aa3537e06518aaaca (diff) | |
| download | raylib-c8464bc731f57587a1c7e7cbad440bf89cc99621.tar.gz raylib-c8464bc731f57587a1c7e7cbad440bf89cc99621.zip | |
Corrected return value
| -rw-r--r-- | src/textures.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/textures.c b/src/textures.c index c50acf99..95a6f113 100644 --- a/src/textures.c +++ b/src/textures.c @@ -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); |
