From efe0071fb4c70d5ae5f22d4cba2b4f9ad8704a20 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 26 Jun 2019 23:46:05 +0200 Subject: HDB: Fix rendering surfaces without keycolor --- engines/hdb/draw-manager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/hdb') 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); -- cgit v1.2.3