Browse Source

Corrected return value

pull/1113/head
Ray 5 years ago
parent
commit
c8464bc731
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/textures.c

+ 1
- 0
src/textures.c 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);

Loading…
Cancel
Save