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

D2D: Remove unused function

This commit is contained in:
reuk 2024-04-22 17:22:19 +01:00
parent 49dec0a32a
commit 238edf6437
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C

View file

@ -413,15 +413,7 @@ public:
void setSize (Rectangle<int> size)
{
if (size == frameSize)
return;
resizeSwapChain (size);
}
void resizeSwapChain (Rectangle<int> size)
{
if (size.isEmpty())
if (size == frameSize || size.isEmpty())
return;
// Require the entire window to be repainted