mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-13 19:44:28 +00:00
sw_engine: resolve a thread sanitizer report.
Synchronize before accessing the shared bbox. Issue: https://github.com/thorvg/thorvg/issues/1874
This commit is contained in:
parent
83042aa0a2
commit
ea4662a927
1 changed files with 4 additions and 1 deletions
|
@ -45,8 +45,11 @@ struct SwTask : Task
|
|||
bool pushed = false; //Pushed into task list?
|
||||
bool disposed = false; //Disposed task?
|
||||
|
||||
RenderRegion bounds() const
|
||||
RenderRegion bounds()
|
||||
{
|
||||
//Can we skip the synchronization?
|
||||
done();
|
||||
|
||||
RenderRegion region;
|
||||
|
||||
//Range over?
|
||||
|
|
Loading…
Add table
Reference in a new issue