mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
Thirdparty: Harmonize patches to document downstream changes
This commit is contained in:
12
thirdparty/tinyexr/patches/0001-external-zlib.patch
vendored
Normal file
12
thirdparty/tinyexr/patches/0001-external-zlib.patch
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
diff --git a/thirdparty/tinyexr/tinyexr.cc b/thirdparty/tinyexr/tinyexr.cc
|
||||
index fef8f66c98..7bdf827ed3 100644
|
||||
--- a/thirdparty/tinyexr/tinyexr.cc
|
||||
+++ b/thirdparty/tinyexr/tinyexr.cc
|
||||
@@ -4,5 +4,7 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
+#include <zlib.h> // Should come before including tinyexr.
|
||||
+
|
||||
#define TINYEXR_IMPLEMENTATION
|
||||
#include "tinyexr.h"
|
||||
2
thirdparty/tinyexr/tinyexr.cc
vendored
2
thirdparty/tinyexr/tinyexr.cc
vendored
@@ -4,9 +4,7 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// -- GODOT start --
|
||||
#include <zlib.h> // Should come before including tinyexr.
|
||||
// -- GODOT end --
|
||||
|
||||
#define TINYEXR_IMPLEMENTATION
|
||||
#include "tinyexr.h"
|
||||
|
||||
Reference in New Issue
Block a user