1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Direct2D: Invalidate deviceContext when adapters change, to avoid referencing missing devices

This commit is contained in:
reuk 2024-09-09 17:20:49 +01:00
parent 8a9fea51e5
commit c1c2e1d8d2
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C

View file

@ -372,6 +372,7 @@ private:
{
compositionTree.reset();
swapChainThread = nullptr;
deviceContext = nullptr;
swap.release();
Pimpl::teardown();