diff options
| author | Ray <[email protected]> | 2017-01-18 23:27:41 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2017-01-18 23:27:41 +0100 |
| commit | 7cd24d27061cb08f818692961beb1ecb4a74445e (patch) | |
| tree | 6b79154628edb1ac05969767c08612c1e61240db /src/external/stb_image_write.h | |
| parent | 3b120bd7d936b5e6b730caa60709c6d73865d146 (diff) | |
| download | raylib-7cd24d27061cb08f818692961beb1ecb4a74445e.tar.gz raylib-7cd24d27061cb08f818692961beb1ecb4a74445e.zip | |
Updated stb external libraries
Diffstat (limited to 'src/external/stb_image_write.h')
| -rw-r--r-- | src/external/stb_image_write.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/external/stb_image_write.h b/src/external/stb_image_write.h index 4319c0de..ae9180b0 100644 --- a/src/external/stb_image_write.h +++ b/src/external/stb_image_write.h @@ -1,4 +1,4 @@ -/* stb_image_write - v1.02 - public domain - http://nothings.org/stb/stb_image_write.h +/* stb_image_write - v1.03 - public domain - http://nothings.org/stb/stb_image_write.h writes out PNG/BMP/TGA images to C stdio - Sean Barrett 2010-2015 no warranty implied; use at your own risk @@ -103,6 +103,7 @@ CREDITS: Jonas Karlsson Filip Wasil Thatcher Ulrich + github:poppolopoppo LICENSE @@ -475,7 +476,6 @@ int stbi_write_tga(char const *filename, int x, int y, int comp, const void *dat // ************************************************************************************************* // Radiance RGBE HDR writer // by Baldur Karlsson -#ifndef STBI_WRITE_NO_STDIO #define stbiw__max(a, b) ((a) > (b) ? (a) : (b)) @@ -630,6 +630,7 @@ int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, i return stbi_write_hdr_core(&s, x, y, comp, (float *) data); } +#ifndef STBI_WRITE_NO_STDIO int stbi_write_hdr(char const *filename, int x, int y, int comp, const float *data) { stbi__write_context s; |
