diff options
author | Simei Yin | 2017-08-03 08:04:00 +0200 |
---|---|---|
committer | Simei Yin | 2017-08-03 09:36:30 +0200 |
commit | 3a7e5f16479cb34509cf5c05b345a9f8154a3842 (patch) | |
tree | aecb462263e6bd855618e997266e5a8d1ff1709d /engines | |
parent | 7eade8b0318bd969afce4958e27813956fcd5baa (diff) | |
download | scummvm-rg350-3a7e5f16479cb34509cf5c05b345a9f8154a3842.tar.gz scummvm-rg350-3a7e5f16479cb34509cf5c05b345a9f8154a3842.tar.bz2 scummvm-rg350-3a7e5f16479cb34509cf5c05b345a9f8154a3842.zip |
SLUDGE: Fix backdrop loading error
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sludge/backdrop.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sludge/backdrop.cpp b/engines/sludge/backdrop.cpp index 62eef91d07..23ddfe6bf5 100644 --- a/engines/sludge/backdrop.cpp +++ b/engines/sludge/backdrop.cpp @@ -224,6 +224,8 @@ bool GraphicsManager::reserveBackdrop() { _vm->_evtMan->mouseX() = (int)((float)_vm->_evtMan->mouseX() / _cameraZoom); _vm->_evtMan->mouseY() = (int)((float)_vm->_evtMan->mouseY() / _cameraZoom); + _backdropSurface.create(_sceneWidth, _sceneHeight, *_vm->getScreenPixelFormat()); + return true; } |