aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb
diff options
context:
space:
mode:
authorEugene Sandulenko2019-06-26 23:46:05 +0200
committerEugene Sandulenko2019-09-03 17:17:01 +0200
commitefe0071fb4c70d5ae5f22d4cba2b4f9ad8704a20 (patch)
treea521fa39aa183122c59772b022732ebde94e67ff /engines/hdb
parent406185408f2024b39ff700ae752dc743f64e7db0 (diff)
downloadscummvm-rg350-efe0071fb4c70d5ae5f22d4cba2b4f9ad8704a20.tar.gz
scummvm-rg350-efe0071fb4c70d5ae5f22d4cba2b4f9ad8704a20.tar.bz2
scummvm-rg350-efe0071fb4c70d5ae5f22d4cba2b4f9ad8704a20.zip
HDB: Fix rendering surfaces without keycolor
Diffstat (limited to 'engines/hdb')
-rw-r--r--engines/hdb/draw-manager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hdb/draw-manager.cpp b/engines/hdb/draw-manager.cpp
index c522d948bd..fabadac2c7 100644
--- a/engines/hdb/draw-manager.cpp
+++ b/engines/hdb/draw-manager.cpp
@@ -683,7 +683,7 @@ Graphics::Surface Picture::load(Common::SeekableReadStream *stream) {
}
void Picture::draw(int x, int y) {
- g_hdb->_drawMan->_globalSurface.transBlitFrom(_surface, Common::Point(x, y));
+ g_hdb->_drawMan->_globalSurface.blitFrom(_surface, Common::Point(x, y));
Common::Rect clip(_surface.getBounds());
clip.moveTo(x, y);
@@ -733,7 +733,7 @@ Graphics::Surface Tile::load(Common::SeekableReadStream *stream) {
}
void Tile::draw(int x, int y) {
- g_hdb->_drawMan->_globalSurface.transBlitFrom(_surface, Common::Point(x, y));
+ g_hdb->_drawMan->_globalSurface.blitFrom(_surface, Common::Point(x, y));
Common::Rect clip(_surface.getBounds());
clip.moveTo(x, y);