mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Direct2D: Add null check in PresentationQueue
This commit is contained in:
parent
b12088a1f6
commit
9a93fb03a4
1 changed files with 3 additions and 0 deletions
|
|
@ -117,6 +117,9 @@ public:
|
|||
{
|
||||
const std::scoped_lock lock { mutex };
|
||||
|
||||
if (preparing == nullptr)
|
||||
return;
|
||||
|
||||
if (readyToDisplay != nullptr)
|
||||
{
|
||||
// Copy the dirty regions from the newest presentation over the top of the 'ready'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue