| 1234567891011121314151617181920212223242526272829 |
- // Copyright (C) 2009-present, Panagiotis Christopoulos Charitos and contributors.
- // All rights reserved.
- // Code licensed under the BSD License.
- // http://www.anki3d.org/LICENSE
- #include <AnKi/Config.h>
- #include <ThirdParty/ZLib/zlib.h>
- #define TINYEXR_USE_MINIZ 0
- #define TINYEXR_IMPLEMENTATION 1
- #if ANKI_COMPILER_GCC_COMPATIBLE
- # pragma GCC diagnostic push
- # pragma GCC diagnostic ignored "-Wunused-but-set-variable"
- # pragma GCC diagnostic ignored "-Wunused-function"
- # pragma GCC diagnostic ignored "-Wconversion"
- # pragma GCC diagnostic ignored "-Wunused-variable"
- #elif ANKI_COMPILER_MSVC
- # pragma warning(push)
- # pragma warning(disable : 4018 4389 4189 4505 4706)
- #endif
- #include <ThirdParty/TinyExr/tinyexr.h>
- #if ANKI_COMPILER_GCC_COMPATIBLE
- # pragma GCC diagnostic pop
- #elif ANKI_COMPILER_MSVC
- # pragma warning(pop)
- #endif
|