0001-msvc-node-debug-rename.patch 645 B

1234567891011121314
  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. +// Prevents Visual Studio debugger from using this Node struct in place of the Godot Node class.
  9. +#define Node Node_libwebp_quant
  10. +
  11. // Trellis node
  12. typedef struct {
  13. int8_t prev; // best previous node