mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
UIViewComponentPeer: Fix stalled rendering when JUCE_COREGRAPHICS_RENDER_WITH_MULTIPLE_PAINT_CALLS is enabled
This commit is contained in:
parent
eafcd86cfa
commit
a4aa7392d8
1 changed files with 4 additions and 1 deletions
|
|
@ -2211,7 +2211,10 @@ void UIViewComponentPeer::displayLinkCallback()
|
|||
for (const auto& r : deferredRepaints)
|
||||
[view setNeedsDisplayInRect: convertToCGRect (r)];
|
||||
|
||||
deferredRepaints.clear();
|
||||
#if JUCE_COREGRAPHICS_RENDER_WITH_MULTIPLE_PAINT_CALLS
|
||||
if (metalRenderer == nullptr)
|
||||
#endif
|
||||
deferredRepaints.clear();
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue