diff options
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/managed_surface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/managed_surface.cpp b/graphics/managed_surface.cpp index 7dca33a619..8a2911b595 100644 --- a/graphics/managed_surface.cpp +++ b/graphics/managed_surface.cpp @@ -129,7 +129,7 @@ void ManagedSurface::copyFrom(const ManagedSurface &surf) { free(); _innerSurface.copyFrom(surf._innerSurface); - clearDirtyRects(); + markAllDirty(); // Pixels data is now owned by us _disposeAfterUse = DisposeAfterUse::YES; |