aboutsummaryrefslogtreecommitdiff
path: root/engines/supernova2/screen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/supernova2/screen.cpp')
-rw-r--r--engines/supernova2/screen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/supernova2/screen.cpp b/engines/supernova2/screen.cpp
index 5e27569785..9f04defb00 100644
--- a/engines/supernova2/screen.cpp
+++ b/engines/supernova2/screen.cpp
@@ -402,9 +402,9 @@ void Screen::saveScreen(int x, int y, int width, int height) {
_screenBuffer.push(x, y, width, height);
}
-/*void Screen::saveScreen(const GuiElement &guiElement) {
+void Screen::saveScreen(const GuiElement &guiElement) {
saveScreen(guiElement.left, guiElement.top, guiElement.width(), guiElement.height());
-}*/
+}
void Screen::restoreScreen() {
_screenBuffer.restore();