mirror of
https://github.com/godotengine/godot.git
synced 2024-11-10 06:03:09 +00:00
tinyexr: Sync with upstream 656bb61
(cherry picked from commit 6a2c2e5062
)
This commit is contained in:
parent
1ca01acfe4
commit
5b28699eba
2
thirdparty/README.md
vendored
2
thirdparty/README.md
vendored
@ -454,7 +454,7 @@ are provided to reapply them.
|
||||
## tinyexr
|
||||
|
||||
- Upstream: https://github.com/syoyo/tinyexr
|
||||
- Version: git (65f9859, 2018)
|
||||
- Version: git (656bb61, 2019)
|
||||
- License: BSD-3-Clause
|
||||
|
||||
Files extracted from upstream source:
|
||||
|
25
thirdparty/tinyexr/tinyexr.h
vendored
25
thirdparty/tinyexr/tinyexr.h
vendored
@ -111,13 +111,13 @@ extern "C" {
|
||||
#define TINYEXR_ERROR_INVALID_ARGUMENT (-3)
|
||||
#define TINYEXR_ERROR_INVALID_DATA (-4)
|
||||
#define TINYEXR_ERROR_INVALID_FILE (-5)
|
||||
#define TINYEXR_ERROR_INVALID_PARAMETER (-5)
|
||||
#define TINYEXR_ERROR_CANT_OPEN_FILE (-6)
|
||||
#define TINYEXR_ERROR_UNSUPPORTED_FORMAT (-7)
|
||||
#define TINYEXR_ERROR_INVALID_HEADER (-8)
|
||||
#define TINYEXR_ERROR_UNSUPPORTED_FEATURE (-9)
|
||||
#define TINYEXR_ERROR_CANT_WRITE_FILE (-10)
|
||||
#define TINYEXR_ERROR_SERIALZATION_FAILED (-11)
|
||||
#define TINYEXR_ERROR_INVALID_PARAMETER (-6)
|
||||
#define TINYEXR_ERROR_CANT_OPEN_FILE (-7)
|
||||
#define TINYEXR_ERROR_UNSUPPORTED_FORMAT (-8)
|
||||
#define TINYEXR_ERROR_INVALID_HEADER (-9)
|
||||
#define TINYEXR_ERROR_UNSUPPORTED_FEATURE (-10)
|
||||
#define TINYEXR_ERROR_CANT_WRITE_FILE (-11)
|
||||
#define TINYEXR_ERROR_SERIALZATION_FAILED (-12)
|
||||
|
||||
// @note { OpenEXR file format: http://www.openexr.com/openexrfilelayout.pdf }
|
||||
|
||||
@ -552,6 +552,10 @@ namespace miniz {
|
||||
#pragma clang diagnostic ignored "-Wtautological-constant-compare"
|
||||
#endif
|
||||
|
||||
#if __has_warning("-Wextra-semi-stmt")
|
||||
#pragma clang diagnostic ignored "-Wextra-semi-stmt"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
/* miniz.c v1.15 - public domain deflate/inflate, zlib-subset, ZIP
|
||||
@ -7612,6 +7616,9 @@ static bool DecompressZip(unsigned char *dst,
|
||||
#ifdef __clang__
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wsign-conversion"
|
||||
#if __has_warning("-Wextra-semi-stmt")
|
||||
#pragma clang diagnostic ignored "-Wextra-semi-stmt"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
@ -7863,6 +7870,10 @@ static void DecompressRle(unsigned char *dst,
|
||||
#pragma clang diagnostic ignored "-Wcast-qual"
|
||||
#endif
|
||||
|
||||
#if __has_warning("-Wextra-semi-stmt")
|
||||
#pragma clang diagnostic ignored "-Wextra-semi-stmt"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user