Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
godotengine
GitHub Repository: godotengine/godot
Path: blob/master/thirdparty/libwebp/patches/0001-msvc-node-debug-rename.patch
9903 views
1
diff --git a/thirdparty/libwebp/src/enc/quant_enc.c b/thirdparty/libwebp/src/enc/quant_enc.c
2
index 6d8202d277..302e8047f2 100644
3
--- a/thirdparty/libwebp/src/enc/quant_enc.c
4
+++ b/thirdparty/libwebp/src/enc/quant_enc.c
5
@@ -556,6 +556,9 @@ static void AddScore(VP8ModeScore* WEBP_RESTRICT const dst,
6
//------------------------------------------------------------------------------
7
// Performs trellis-optimized quantization.
8
9
+// Prevents Visual Studio debugger from using this Node struct in place of the Godot Node class.
10
+#define Node Node_libwebp_quant
11
+
12
// Trellis node
13
typedef struct {
14
int8_t prev; // best previous node
15
16