godot-node-debug-fix.patch 650 B

1234567891011121314151617
  1. diff --git a/thirdparty/libwebp/src/enc/quant_enc.c b/thirdparty/libwebp/src/enc/quant_enc.c
  2. index 6d8202d277..8f9a3c8668 100644
  3. --- a/src/enc/quant_enc.c
  4. +++ b/src/enc/quant_enc.c
  5. @@ -556,6 +556,11 @@ static void AddScore(VP8ModeScore* WEBP_RESTRICT const dst,
  6. //------------------------------------------------------------------------------
  7. // Performs trellis-optimized quantization.
  8. +// -- GODOT start --
  9. +// Prevents Visual Studio debugger from using this Node struct in place of the Godot Node class.
  10. +#define Node Node_libwebp_quant
  11. +// -- GODOT end --
  12. +
  13. // Trellis node
  14. typedef struct {
  15. int8_t prev; // best previous node