diff options
| author | raysan5 <[email protected]> | 2019-10-19 17:26:58 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2019-10-19 17:26:58 +0200 |
| commit | e25f4dca1f64c7e224013de1d104f90f909e04fd (patch) | |
| tree | f59d13e470926dddd799931a9723321fd78e6b89 /src/external/stb_image_write.h | |
| parent | 68dcb553497a74b3eee11f4cb4db800d3727409d (diff) | |
| download | raylib-e25f4dca1f64c7e224013de1d104f90f909e04fd.tar.gz raylib-e25f4dca1f64c7e224013de1d104f90f909e04fd.zip | |
Update external libraries
Diffstat (limited to 'src/external/stb_image_write.h')
| -rw-r--r-- | src/external/stb_image_write.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/external/stb_image_write.h b/src/external/stb_image_write.h index 082eb69d..a9bf66c1 100644 --- a/src/external/stb_image_write.h +++ b/src/external/stb_image_write.h @@ -1,4 +1,4 @@ -/* stb_image_write - v1.13 - public domain - http://nothings.org/stb/stb_image_write.h +/* stb_image_write - v1.13 - public domain - http://nothings.org/stb writes out PNG/BMP/TGA/JPEG/HDR images to C stdio - Sean Barrett 2010-2015 no warranty implied; use at your own risk @@ -868,7 +868,7 @@ STBIWDEF unsigned char * stbi_zlib_compress(unsigned char *data, int data_len, i unsigned int bitbuf=0; int i,j, bitcount=0; unsigned char *out = NULL; - unsigned char ***hash_table = (unsigned char***) STBIW_MALLOC(stbiw__ZHASH * sizeof(char**)); + unsigned char ***hash_table = (unsigned char***) STBIW_MALLOC(stbiw__ZHASH * sizeof(unsigned char**)); if (hash_table == NULL) return NULL; if (quality < 5) quality = 5; @@ -1530,6 +1530,8 @@ STBIWDEF int stbi_write_jpg(char const *filename, int x, int y, int comp, const #endif // STB_IMAGE_WRITE_IMPLEMENTATION /* Revision history + 1.11 (2019-08-11) + 1.10 (2019-02-07) support utf8 filenames in Windows; fix warnings and platform ifdefs 1.09 (2018-02-11) |
