You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-03 16:55:53 +00:00
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
(cherry picked from commit b5ec79906c)
24 lines
598 B
Diff
24 lines
598 B
Diff
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_
|
|
+
|