aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sludge/backdrop.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sludge/backdrop.cpp b/engines/sludge/backdrop.cpp
index 5622d16a8c..62eef91d07 100644
--- a/engines/sludge/backdrop.cpp
+++ b/engines/sludge/backdrop.cpp
@@ -444,7 +444,8 @@ bool GraphicsManager::loadHSI(Common::SeekableReadStream *stream, int x, int y,
}
// copy surface loaded to backdrop
- _backdropSurface.copyRectToSurface(tmp.getPixels(), tmp.pitch, x, y, tmp.w, tmp.h);
+ Graphics::TransparentSurface tmp_trans(tmp, false);
+ tmp_trans.blit(_backdropSurface, x, y);
tmp.free();
_origBackdropSurface.copyFrom(_backdropSurface);