1
0
Fork 0
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:
Oli 2025-04-15 15:29:27 +01:00
parent 1dce4ae0fe
commit 093df763ba

View file

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