diff options
author | Bendegúz Nagy | 2016-08-20 13:25:37 +0200 |
---|---|---|
committer | Bendegúz Nagy | 2016-08-26 23:02:22 +0200 |
commit | d97a8905cc18ccf9d036f7708d8e2cf8dfba6067 (patch) | |
tree | 335e7a51be994e20af51d92413b7e56c968cbb69 /engines/dm/gfx.cpp | |
parent | ca267da97c14268f8c650d7dac727182062129d0 (diff) | |
download | scummvm-rg350-d97a8905cc18ccf9d036f7708d8e2cf8dfba6067.tar.gz scummvm-rg350-d97a8905cc18ccf9d036f7708d8e2cf8dfba6067.tar.bz2 scummvm-rg350-d97a8905cc18ccf9d036f7708d8e2cf8dfba6067.zip |
DM: Remove some warnings
Diffstat (limited to 'engines/dm/gfx.cpp')
-rw-r--r-- | engines/dm/gfx.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/dm/gfx.cpp b/engines/dm/gfx.cpp index 6060d9f3f0..07b3b61f52 100644 --- a/engines/dm/gfx.cpp +++ b/engines/dm/gfx.cpp @@ -2738,14 +2738,16 @@ bool DisplayMan::f107_isDrawnWallOrnAnAlcove(int16 wallOrnOrd, ViewWall viewWall void DisplayMan::f129_blitToBitmapShrinkWithPalChange(byte *srcBitmap, byte *destBitmap, int16 srcPixelWidth, int16 srcHeight, int16 destPixelWidth, int16 destHeight, byte *palChange) { + warning(false, "DUMMY CODE: f129_blitToBitmapShrinkWithPalChange"); + warning(false, "MISSING CODE: No palette change takes place in f129_blitToBitmapShrinkWithPalChange"); + + if (destPixelWidth % 8) destPixelWidth = (destPixelWidth / 8) * 8 + 8; uint32 scaleX = (kScaleThreshold * srcPixelWidth) / destPixelWidth; uint32 scaleY = (kScaleThreshold * srcHeight) / destHeight; - warning(false, "MISSING CODE: No palette change takes place in f129_blitToBitmapShrinkWithPalChange"); - // Loop through drawing output lines for (uint32 destY = 0, scaleYCtr = 0; destY < (uint32)destHeight; ++destY, scaleYCtr += scaleY) { |