aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/managed_surface.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/managed_surface.h b/graphics/managed_surface.h
index b643d1b8cf..95671a7235 100644
--- a/graphics/managed_surface.h
+++ b/graphics/managed_surface.h
@@ -61,12 +61,13 @@ private:
* the offset from the parent's top-left corner this sub-surface starts at
*/
Common::Point _offsetFromOwner;
-protected:
+public:
/**
* Clips the given source bounds so the passed destBounds will be entirely on-screen
*/
bool clip(Common::Rect &srcBounds, Common::Rect &destBounds);
+protected:
/**
* Base method that descendent classes can override for recording affected
* dirty areas of the surface