TinyExr.cpp 591 B

12345678910111213141516171819202122
  1. // Copyright (C) 2009-2022, Panagiotis Christopoulos Charitos and contributors.
  2. // All rights reserved.
  3. // Code licensed under the BSD License.
  4. // http://www.anki3d.org/LICENSE
  5. #include <AnKi/Config.h>
  6. #include <ThirdParty/ZLib/zlib.h>
  7. #define TINYEXR_USE_MINIZ 0
  8. #define TINYEXR_IMPLEMENTATION 1
  9. #if ANKI_COMPILER_GCC_COMPATIBLE
  10. # pragma GCC diagnostic push
  11. # pragma GCC diagnostic ignored "-Wunused-but-set-variable"
  12. # pragma GCC diagnostic ignored "-Wunused-function"
  13. #endif
  14. #include <ThirdParty/TinyExr/tinyexr.h>
  15. #if ANKI_COMPILER_GCC_COMPATIBLE
  16. # pragma GCC diagnostic pop
  17. #endif