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:
parent
8a9fea51e5
commit
c1c2e1d8d2
1 changed files with 1 additions and 0 deletions
|
|
@ -372,6 +372,7 @@ private:
|
|||
{
|
||||
compositionTree.reset();
|
||||
swapChainThread = nullptr;
|
||||
deviceContext = nullptr;
|
||||
swap.release();
|
||||
|
||||
Pimpl::teardown();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue