diff --git a/modules/juce_graphics/native/juce_DirectX_windows.h b/modules/juce_graphics/native/juce_DirectX_windows.h index 7e1d91688f..2e911b9c59 100644 --- a/modules/juce_graphics/native/juce_DirectX_windows.h +++ b/modules/juce_graphics/native/juce_DirectX_windows.h @@ -269,7 +269,7 @@ private: options.debugLevel = D2D1_DEBUG_LEVEL_NONE; JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE ("-Wlanguage-extension-token") ComSmartPtr result; - auto hr = D2D1CreateFactory (D2D1_FACTORY_TYPE_SINGLE_THREADED, + auto hr = D2D1CreateFactory (D2D1_FACTORY_TYPE_MULTI_THREADED, __uuidof (ID2D1Factory2), &options, (void**) result.resetAndGetPointerAddress());