diff options
Diffstat (limited to 'gui/ThemeEngine.h')
-rw-r--r-- | gui/ThemeEngine.h | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/gui/ThemeEngine.h b/gui/ThemeEngine.h index 3749b65b53..a7bec4d9a3 100644 --- a/gui/ThemeEngine.h +++ b/gui/ThemeEngine.h @@ -311,19 +311,13 @@ public: /** - * Actual implementation of a Dirty Rect drawing routine. - * Dirty rectangles are queued on a list and are later merged/calculated - * before the actual drawing. + * Actual implementation of a dirty rect handling. + * Dirty rectangles are queued on a list and are later used for the + * actual drawing. * - * @param r Area of the dirty rect. - * @param backup Deprecated. - * @param special Deprecated. + * @param r Area of the dirty rect. */ - bool addDirtyRect(Common::Rect r, bool backup = false, bool special = false) { - r.clip(_screen.w, _screen.h); - _dirtyScreen.push_back(r); - return true; - } + void addDirtyRect(Common::Rect r); /** |