Skip to content

Commit 9e369f0

Browse files
author
alcomposer
committed
Invalidate all when resizing buffer (no need to have it's own way to invalidate all)
1 parent eca0561 commit 9e369f0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Source/NVGSurface.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,8 @@ void NVGSurface::updateBufferSize()
221221

222222
fbWidth = scaledWidth;
223223
fbHeight = scaledHeight;
224-
invalidArea = getLocalBounds().expanded(32);
224+
225+
invalidateAll();
225226
}
226227
}
227228

0 commit comments

Comments
 (0)