virtualx-engine/thirdparty/tinyexr/tinyexr.cc
Rémi Verschelde 46d3effa99
tinyexr: Sync with upstream 1.0.1
Removes miniz as a bundled dependency, relies on our own zlib instead.

Includes a couple commits ahead of `v1.0.1` tag to fix MinGW builds.
2021-11-19 11:25:14 +01:00

12 lines
221 B
C++

#if defined(_WIN32)
#ifndef NOMINMAX
#define NOMINMAX
#endif
#endif
// -- GODOT start --
#include <zlib.h> // Should come before including tinyexr.
// -- GODOT end --
#define TINYEXR_IMPLEMENTATION
#include "tinyexr.h"