mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Direct2DHwndGraphicsContext: Always use default adapter
Co-authored-by: Matt Gonzalez <matt@echoaudio.com>
This commit is contained in:
parent
1dce4ae0fe
commit
093df763ba
1 changed files with 1 additions and 1 deletions
|
|
@ -152,7 +152,7 @@ private:
|
|||
|
||||
bool prepare() override
|
||||
{
|
||||
const auto adapter = directX->adapters.getAdapterForHwnd (hwnd);
|
||||
const auto adapter = directX->adapters.getDefaultAdapter();
|
||||
|
||||
if (adapter == nullptr)
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue