mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 13:43:43 +00:00
Revert "renderer/canvas: Check refresh before draw"
This reverts commit 60212747b5
.
this triggered duplicated updates,
it came up with many thread sanitizer problems.
issue: https://github.com/thorvg/thorvg/issues/2462
This commit is contained in:
parent
f837ecf164
commit
b2def251ca
1 changed files with 0 additions and 1 deletions
|
@ -114,7 +114,6 @@ struct Canvas::Impl
|
||||||
|
|
||||||
Result draw()
|
Result draw()
|
||||||
{
|
{
|
||||||
if (refresh) update(nullptr, false);
|
|
||||||
if (status == Status::Drawing || paints.empty() || !renderer->preRender()) return Result::InsufficientCondition;
|
if (status == Status::Drawing || paints.empty() || !renderer->preRender()) return Result::InsufficientCondition;
|
||||||
|
|
||||||
bool rendered = false;
|
bool rendered = false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue