1
0
Fork 0
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:
reuk 2024-08-23 13:50:51 +01:00
parent b12088a1f6
commit 9a93fb03a4

View file

@ -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'