diff options
author | Walter van Niftrik | 2019-07-22 08:54:08 +0200 |
---|---|---|
committer | Walter van Niftrik | 2019-08-11 23:36:27 +0200 |
commit | d5c7e9d2073c54ed284e1aa4e532f36bf68c3818 (patch) | |
tree | c57393b386098449f0dbdc414d66919776100be0 /engines/adl/hires5.cpp | |
parent | 92a3a3a8a551f32abc9654d3731ae3d297280878 (diff) | |
download | scummvm-rg350-d5c7e9d2073c54ed284e1aa4e532f36bf68c3818.tar.gz scummvm-rg350-d5c7e9d2073c54ed284e1aa4e532f36bf68c3818.tar.bz2 scummvm-rg350-d5c7e9d2073c54ed284e1aa4e532f36bf68c3818.zip |
ADL: Refactor Display class
Diffstat (limited to 'engines/adl/hires5.cpp')
-rw-r--r-- | engines/adl/hires5.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/adl/hires5.cpp b/engines/adl/hires5.cpp index b98dfc57c3..b9b51c60fc 100644 --- a/engines/adl/hires5.cpp +++ b/engines/adl/hires5.cpp @@ -97,7 +97,7 @@ void HiRes5Engine::drawLight(uint index, byte color) const { for (int xDelta = 0; xDelta < 7; ++xDelta) display->putPixel(Common::Point(xCoord[index] + xDelta, yCoord + yDelta), color); - display->copyGfxSurface(); + display->renderGraphics(); } void HiRes5Engine::animateLights() const { @@ -248,7 +248,7 @@ void HiRes5Engine::runIntro() { display->setMode(Display::kModeGraphics); display->loadFrameBuffer(*stream); - display->copyGfxSurface(); + display->renderGraphics(); inputKey(); |