mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Direct2D: Avoid unnecessarily reallocating window buffers during window move
This commit is contained in:
parent
2a2ae47231
commit
102ef24061
1 changed files with 1 additions and 2 deletions
|
|
@ -3397,8 +3397,7 @@ private:
|
|||
r = D2DUtilities::toRECT (modifiedPhysicalBounds);
|
||||
}
|
||||
|
||||
if (renderContext != nullptr)
|
||||
renderContext->setSize (r.right - r.left, r.bottom - r.top);
|
||||
updateBorderSize();
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue