1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Direct2D: Remove declaration of makeGradientStopCollection()

This commit is contained in:
reuk 2025-04-17 14:14:15 +01:00 committed by Oli
parent 8d33428dcf
commit 1f6c1737eb
2 changed files with 3 additions and 7 deletions

View file

@ -402,9 +402,9 @@ void UpdateRegion::findRECTAndValidate (HWND windowHandle)
}
//==============================================================================
ComSmartPtr<ID2D1GradientStopCollection> makeGradientStopCollection (const ColourGradient& gradient,
ComSmartPtr<ID2D1DeviceContext1> deviceContext,
[[maybe_unused]] Direct2DMetrics* metrics) noexcept
static ComSmartPtr<ID2D1GradientStopCollection> makeGradientStopCollection (const ColourGradient& gradient,
ComSmartPtr<ID2D1DeviceContext1> deviceContext,
[[maybe_unused]] Direct2DMetrics* metrics) noexcept
{
JUCE_D2DMETRICS_SCOPED_ELAPSED_TIME (metrics, createGradientTime);

View file

@ -244,10 +244,6 @@ private:
uint32 numRect = 0;
};
ComSmartPtr<ID2D1GradientStopCollection> makeGradientStopCollection (const ColourGradient& gradient,
ComSmartPtr<ID2D1DeviceContext1> deviceContext,
[[maybe_unused]] Direct2DMetrics* metrics) noexcept;
class LinearGradientCache
{
public: