aboutsummaryrefslogtreecommitdiff
path: root/graphics/managed_surface.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/managed_surface.h')
-rw-r--r--graphics/managed_surface.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/graphics/managed_surface.h b/graphics/managed_surface.h
index a11d05c557..c143222bbc 100644
--- a/graphics/managed_surface.h
+++ b/graphics/managed_surface.h
@@ -307,10 +307,7 @@ public:
* Copy the data from another Surface, reinitializing the
* surface to match the dimensions of the passed surface
*/
- void copyFrom(const ManagedSurface &surf) {
- clearDirtyRects();
- _innerSurface.copyFrom(surf._innerSurface);
- }
+ void copyFrom(const ManagedSurface &surf);
/**
* Draw a line.