mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Direct2D: Make checkPaintReady check more robust
This additionally ensures that we'll paint when the swap chain has just been resized
This commit is contained in:
parent
d64e963b14
commit
9b36effbf4
1 changed files with 1 additions and 1 deletions
|
|
@ -401,7 +401,7 @@ private:
|
|||
bool ready = Pimpl::checkPaintReady();
|
||||
ready &= swap.canPaint();
|
||||
ready &= compositionTree.has_value();
|
||||
ready &= deferredRepaints.getNumRectangles() > 0 || resizing;
|
||||
ready &= ! getPaintAreas().isEmpty();
|
||||
ready &= presentation.getPresentation() != nullptr;
|
||||
return ready;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue