mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Direct2D: Remove redundant adapter member from SavedState
This commit is contained in:
parent
68441e0726
commit
45305dbfa7
1 changed files with 0 additions and 4 deletions
|
|
@ -256,12 +256,10 @@ public:
|
|||
SavedState (Direct2DGraphicsContext& ownerIn,
|
||||
Rectangle<int> frameSizeIn,
|
||||
ComSmartPtr<ID2D1SolidColorBrush>& colourBrushIn,
|
||||
DxgiAdapter::Ptr& adapterIn,
|
||||
Direct2DDeviceResources& deviceResourcesIn)
|
||||
: owner (ownerIn),
|
||||
currentBrush (colourBrushIn),
|
||||
colourBrush (colourBrushIn),
|
||||
adapter (adapterIn),
|
||||
deviceResources (deviceResourcesIn),
|
||||
deviceSpaceClipList (frameSizeIn.toFloat())
|
||||
{
|
||||
|
|
@ -519,7 +517,6 @@ public:
|
|||
|
||||
RenderingHelpers::TranslationOrTransform currentTransform;
|
||||
|
||||
DxgiAdapter::Ptr& adapter;
|
||||
Direct2DDeviceResources& deviceResources;
|
||||
RectangleList<float> deviceSpaceClipList;
|
||||
|
||||
|
|
@ -676,7 +673,6 @@ public:
|
|||
savedClientStates.push_back (std::make_unique<SavedState> (owner,
|
||||
initialClipRegion,
|
||||
deviceResources->colourBrush,
|
||||
adapter,
|
||||
*deviceResources));
|
||||
|
||||
return getCurrentSavedState();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue