aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/screen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sherlock/screen.cpp')
-rw-r--r--engines/sherlock/screen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/screen.cpp b/engines/sherlock/screen.cpp
index 85d47c84dc..33e12530ed 100644
--- a/engines/sherlock/screen.cpp
+++ b/engines/sherlock/screen.cpp
@@ -319,7 +319,7 @@ void Screen::vgaBar(const Common::Rect &r, int color) {
}
void Screen::setDisplayBounds(const Common::Rect &r) {
- _sceneSurface.setPixels((byte *)_backBuffer1.getBasePtr(r.left, r.top),
+ _sceneSurface.setPixelsData((byte *)_backBuffer1.getBasePtr(r.left, r.top),
r.width(), r.height(), _backBuffer1.format);
_backBuffer = &_sceneSurface;