common: code refactoring.

--loc, no logical changes.
This commit is contained in:
Hermet Park 2021-10-01 14:53:56 +09:00
parent 81e6471071
commit 733f0b7f9a

View file

@ -119,8 +119,7 @@ struct Canvas::Impl
if ((*paint)->pImpl->render(*renderer)) rendered = true;
}
if (!rendered) return Result::InsufficientCondition;
if (!renderer->postRender()) return Result::InsufficientCondition;
if (!rendered || !renderer->postRender()) return Result::InsufficientCondition;
drawing = true;