diff options
| author | Ahmad Fatoum <[email protected]> | 2018-04-12 19:31:53 +0200 |
|---|---|---|
| committer | Ahmad Fatoum <[email protected]> | 2018-05-21 12:15:39 +0200 |
| commit | e025e62445913bf1ec9cf075eaaf1dc7374da83c (patch) | |
| tree | 76d9cf1898ebbf9e2bc2b08639c0523c9d0b9164 /src/textures.c | |
| parent | cea78e4fc16a317ef7ffd7dd537c8b47f77dca57 (diff) | |
| download | raylib-e025e62445913bf1ec9cf075eaaf1dc7374da83c.tar.gz raylib-e025e62445913bf1ec9cf075eaaf1dc7374da83c.zip | |
cmake: Fix PLATFORM_WEB build
Did this ever work? Surely, doesn't look like it...
Diffstat (limited to 'src/textures.c')
| -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 46867aab..3a1934b9 100644 --- a/src/textures.c +++ b/src/textures.c @@ -568,6 +568,7 @@ void ExportImage(const char *fileName, Image image) // NOTE: Getting Color array as RGBA unsigned char values unsigned char *imgData = (unsigned char *)GetImageData(image); SavePNG(fileName, imgData, image.width, image.height, 4); + // FIXME ^ this fails on PLATFORM_WEB, what should we do? free(imgData); } |
