1
0
Fork 0
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:
reuk 2024-10-01 14:08:22 +01:00
parent 2a2ae47231
commit 102ef24061
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C

View file

@ -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;
}