You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-16 14:00:40 +00:00
ThorVG: update from v0.12.4 to v0.12.5
https://github.com/thorvg/thorvg/releases/tag/v0.12.5 + Full Changelog: https://github.com/thorvg/thorvg/compare/v0.12.4...v0.12.5 Godot-related SVG bug fixes: + sw_engine: Improve image up-scaler quality. thorvg/thorvg#1960 + renderer: Ensure canvas rendering continues despite invalid scene parts. thorvg/thorvg#1957 + Portability: Fix compiler shadowing warning (patch) thorvg/thorvg#1975
This commit is contained in:
23
thirdparty/thorvg/patches/Fix_compiler_shadowing_warning.patch
vendored
Normal file
23
thirdparty/thorvg/patches/Fix_compiler_shadowing_warning.patch
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
diff --git a/thirdparty/thorvg/src/common/tvgLock.h b/thirdparty/thorvg/src/common/tvgLock.h
|
||||
index e6d993a41e..5dd3d5a624 100644
|
||||
--- a/thirdparty/thorvg/src/common/tvgLock.h
|
||||
+++ b/thirdparty/thorvg/src/common/tvgLock.h
|
||||
@@ -38,10 +38,10 @@ namespace tvg {
|
||||
{
|
||||
Key* key = nullptr;
|
||||
|
||||
- ScopedLock(Key& key)
|
||||
+ ScopedLock(Key& k)
|
||||
{
|
||||
- key.mtx.lock();
|
||||
- this->key = &key;
|
||||
+ k.mtx.lock();
|
||||
+ key = &k;
|
||||
}
|
||||
|
||||
~ScopedLock()
|
||||
@@ -68,3 +68,4 @@ namespace tvg {
|
||||
#endif //THORVG_THREAD_SUPPORT
|
||||
|
||||
#endif //_TVG_LOCK_H_
|
||||
+
|
||||
Reference in New Issue
Block a user