1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

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.

(cherry picked from commit 46d3effa99)
This commit is contained in:
Rémi Verschelde
2021-11-19 11:17:49 +01:00
parent ee82085925
commit 31dbc59c39
7 changed files with 1934 additions and 7188 deletions

View File

@@ -33,6 +33,8 @@
#include "core/os/os.h"
#include "core/print_string.h"
#include <zlib.h> // Should come before including tinyexr.
#include "thirdparty/tinyexr/tinyexr.h"
Error ImageLoaderTinyEXR::load_image(Ref<Image> p_image, FileAccess *f, bool p_force_linear, float p_scale) {