aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/lab.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2015-12-24 13:00:10 +0200
committerFilippos Karapetis2015-12-24 13:00:10 +0200
commit8b45875e245f8eba2403987cdb4ba128720048a9 (patch)
tree5855ce2c80d610bad68ae1ba3ffd5219f58e30f6 /engines/lab/lab.cpp
parent28b5105f56201d37921521afcfa222c7b593004c (diff)
downloadscummvm-rg350-8b45875e245f8eba2403987cdb4ba128720048a9.tar.gz
scummvm-rg350-8b45875e245f8eba2403987cdb4ba128720048a9.tar.bz2
scummvm-rg350-8b45875e245f8eba2403987cdb4ba128720048a9.zip
LAB: Get rid of _screenImage
Thanks to wjp for finding this
Diffstat (limited to 'engines/lab/lab.cpp')
-rw-r--r--engines/lab/lab.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/engines/lab/lab.cpp b/engines/lab/lab.cpp
index b36bb136cf..d21dc66a30 100644
--- a/engines/lab/lab.cpp
+++ b/engines/lab/lab.cpp
@@ -89,7 +89,6 @@ LabEngine::LabEngine(OSystem *syst, const ADGameDescription *gameDesc)
_utils = nullptr;
_console = nullptr;
_journalBackImage = nullptr;
- _screenImage = nullptr;
_lastTooLong = false;
_interfaceOff = false;
@@ -158,10 +157,6 @@ LabEngine::~LabEngine() {
delete _utils;
delete _console;
delete _journalBackImage;
- // _screenImage->_imageData is always pointing to the current drawing buffer.
- // It shouldn't be deleted there.
- _screenImage->_imageData = nullptr;
- delete _screenImage;
}
Common::Error LabEngine::run() {
@@ -179,7 +174,6 @@ Common::Error LabEngine::run() {
_utils = new Utils(this);
_console = new Console(this);
_journalBackImage = new Image(this);
- _screenImage = new Image(this);
if (getPlatform() == Common::kPlatformWindows) {
// Check if this is the Wyrmkeep trial