aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authordigitall2011-08-21 23:39:45 +0000
committerWillem Jan Palenstijn2013-05-08 20:39:35 +0200
commitbec86c7c2ee49a1428b5fac88b08e427805970a8 (patch)
tree5bfde9c068eaf96ea4a53f6c94c9b1eb276c551d /engines
parentbc239b3fb17a359151b8486f1e13c577817adef1 (diff)
downloadscummvm-rg350-bec86c7c2ee49a1428b5fac88b08e427805970a8.tar.gz
scummvm-rg350-bec86c7c2ee49a1428b5fac88b08e427805970a8.tar.bz2
scummvm-rg350-bec86c7c2ee49a1428b5fac88b08e427805970a8.zip
NEVERHOOD: Switch to initGraphics() call, rather than separate calls. Default to 1xScalar.
Diffstat (limited to 'engines')
-rw-r--r--engines/neverhood/neverhood.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/engines/neverhood/neverhood.cpp b/engines/neverhood/neverhood.cpp
index c6a7e5abf2..d94d3db128 100644
--- a/engines/neverhood/neverhood.cpp
+++ b/engines/neverhood/neverhood.cpp
@@ -57,11 +57,7 @@ NeverhoodEngine::~NeverhoodEngine() {
}
Common::Error NeverhoodEngine::run() {
- // Initialize backend
- _system->beginGFXTransaction();
- initCommonGFX(false);
- _system->initSize(640, 480);
- _system->endGFXTransaction();
+ initGraphics(640, 480, true);
_isSaveAllowed = false;