summaryrefslogtreecommitdiff
path: root/modules/tinyexr/image_loader_tinyexr.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-11-20 10:45:56 +0100
committerGitHub <noreply@github.com>2021-11-20 10:45:56 +0100
commite6fd2d550ead5e69f0314a966a8eacb20073f3a4 (patch)
treeb98f7ebfdd93eacd4e85166a7b1c8217bba53d12 /modules/tinyexr/image_loader_tinyexr.cpp
parentb18744834f460d8d4a1f7594ab37a0104ba1ae2a (diff)
parent46d3effa994b344462a86f83ed3095247dc9e1bc (diff)
Merge pull request #55115 from akien-mga/tinyexr-1.0.1
Diffstat (limited to 'modules/tinyexr/image_loader_tinyexr.cpp')
-rw-r--r--modules/tinyexr/image_loader_tinyexr.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/tinyexr/image_loader_tinyexr.cpp b/modules/tinyexr/image_loader_tinyexr.cpp
index eb7a8597e6..6c4c06aab0 100644
--- a/modules/tinyexr/image_loader_tinyexr.cpp
+++ b/modules/tinyexr/image_loader_tinyexr.cpp
@@ -33,6 +33,8 @@
#include "core/os/os.h"
#include "core/string/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) {