You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
Fix Node class in MSVC debugger for dev_build
This commit is contained in:
2
thirdparty/README.md
vendored
2
thirdparty/README.md
vendored
@@ -361,6 +361,8 @@ Files extracted from upstream source:
|
|||||||
- `src/` and `sharpyuv/` except from: `.am`, `.rc` and `.in` files
|
- `src/` and `sharpyuv/` except from: `.am`, `.rc` and `.in` files
|
||||||
- `AUTHORS`, `COPYING`, `PATENTS`
|
- `AUTHORS`, `COPYING`, `PATENTS`
|
||||||
|
|
||||||
|
Patch `godot-node-debug-fix.patch` workarounds shadowing of godot's Node class in the MSVC debugger.
|
||||||
|
|
||||||
|
|
||||||
## mbedtls
|
## mbedtls
|
||||||
|
|
||||||
|
|||||||
16
thirdparty/libwebp/godot-node-debug-fix.patch
vendored
Normal file
16
thirdparty/libwebp/godot-node-debug-fix.patch
vendored
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
diff --git a/thirdparty/libwebp/src/enc/quant_enc.c b/thirdparty/libwebp/src/enc/quant_enc.c
|
||||||
|
index 6d8202d277..8f9a3c8668 100644
|
||||||
|
--- a/src/enc/quant_enc.c
|
||||||
|
+++ b/src/enc/quant_enc.c
|
||||||
|
@@ -556,6 +556,11 @@ static void AddScore(VP8ModeScore* WEBP_RESTRICT const dst,
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// Performs trellis-optimized quantization.
|
||||||
|
|
||||||
|
+// -- GODOT start --
|
||||||
|
+// Prevents Visual Studio debugger from using this Node struct in place of the Godot Node class.
|
||||||
|
+#define Node Node_libwebp_quant
|
||||||
|
+// -- GODOT end --
|
||||||
|
+
|
||||||
|
// Trellis node
|
||||||
|
typedef struct {
|
||||||
|
int8_t prev; // best previous node
|
||||||
5
thirdparty/libwebp/src/enc/quant_enc.c
vendored
5
thirdparty/libwebp/src/enc/quant_enc.c
vendored
@@ -556,6 +556,11 @@ static void AddScore(VP8ModeScore* WEBP_RESTRICT const dst,
|
|||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// Performs trellis-optimized quantization.
|
// Performs trellis-optimized quantization.
|
||||||
|
|
||||||
|
// -- GODOT start --
|
||||||
|
// Prevents Visual Studio debugger from using this Node struct in place of the Godot Node class.
|
||||||
|
#define Node Node_libwebp_quant
|
||||||
|
// -- GODOT end --
|
||||||
|
|
||||||
// Trellis node
|
// Trellis node
|
||||||
typedef struct {
|
typedef struct {
|
||||||
int8_t prev; // best previous node
|
int8_t prev; // best previous node
|
||||||
|
|||||||
Reference in New Issue
Block a user