mirror of
https://github.com/thorvg/thorvg.git
synced 2025-07-28 17:15:57 +00:00
canvas: replacement of the bitwise OR operator with the logical one
Bitwise logical operators do not perform short-circuiting.
This commit is contained in:
parent
d522c9d45e
commit
692e100f9a
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ struct Canvas::Impl
|
|||
|
||||
Array<RenderData> clips;
|
||||
auto flag = RenderUpdateFlag::None;
|
||||
if (refresh | force) flag = RenderUpdateFlag::All;
|
||||
if (refresh || force) flag = RenderUpdateFlag::All;
|
||||
|
||||
//Update single paint node
|
||||
if (paint) {
|
||||
|
|
Loading…
Add table
Reference in a new issue