diff --git a/modules/juce_graphics/native/juce_DirectX_windows.h b/modules/juce_graphics/native/juce_DirectX_windows.h index d6546d5796..09ce70b490 100644 --- a/modules/juce_graphics/native/juce_DirectX_windows.h +++ b/modules/juce_graphics/native/juce_DirectX_windows.h @@ -228,7 +228,7 @@ private: ComSmartPtr result; if (const auto hr = CreateDXGIFactory2 (0, __uuidof (IDXGIFactory2), (void**) result.resetAndGetPointerAddress()); SUCCEEDED (hr)) return result; - JUCE_END_IGNORE_WARNINGS_GCC_LIKE + JUCE_END_IGNORE_WARNINGS_GCC_LIKE // If CreateDXGIFactory fails, check to see if this is being called in the context of DllMain. // CreateDXGIFactory will always fail if called from the context of DllMain. In this case, the renderer