You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Thirdparty: Harmonize patches to document downstream changes
This commit is contained in:
14
thirdparty/libwebp/patches/0001-msvc-node-debug-rename.patch
vendored
Normal file
14
thirdparty/libwebp/patches/0001-msvc-node-debug-rename.patch
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
diff --git a/thirdparty/libwebp/src/enc/quant_enc.c b/thirdparty/libwebp/src/enc/quant_enc.c
|
||||
index 6d8202d277..302e8047f2 100644
|
||||
--- a/thirdparty/libwebp/src/enc/quant_enc.c
|
||||
+++ b/thirdparty/libwebp/src/enc/quant_enc.c
|
||||
@@ -556,6 +556,9 @@ static void AddScore(VP8ModeScore* WEBP_RESTRICT const dst,
|
||||
//------------------------------------------------------------------------------
|
||||
// Performs trellis-optimized quantization.
|
||||
|
||||
+// Prevents Visual Studio debugger from using this Node struct in place of the Godot Node class.
|
||||
+#define Node Node_libwebp_quant
|
||||
+
|
||||
// Trellis node
|
||||
typedef struct {
|
||||
int8_t prev; // best previous node
|
||||
Reference in New Issue
Block a user