aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2016-08-29 21:02:38 +0200
committerEugene Sandulenko2016-08-29 22:06:35 +0200
commite13cee4be0b02da6fa96148f19e756318726c32e (patch)
tree096009147d49e4136fbc88a871e21966b68dcc03
parentd2fd0a9a6732965e667950903ff8fd82c8d91f79 (diff)
downloadscummvm-rg350-e13cee4be0b02da6fa96148f19e756318726c32e.tar.gz
scummvm-rg350-e13cee4be0b02da6fa96148f19e756318726c32e.tar.bz2
scummvm-rg350-e13cee4be0b02da6fa96148f19e756318726c32e.zip
FULLPIPE: Hid noisy pointless warning
-rw-r--r--engines/fullpipe/gfx.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/fullpipe/gfx.cpp b/engines/fullpipe/gfx.cpp
index 756e29696f..77838576f0 100644
--- a/engines/fullpipe/gfx.cpp
+++ b/engines/fullpipe/gfx.cpp
@@ -1138,13 +1138,14 @@ Bitmap *Bitmap::flipVertical() {
}
void Bitmap::drawShaded(int type, int x, int y, byte *palette, int alpha) {
- warning("STUB: Bitmap::drawShaded(%d, %d, %d)", type, x, y);
+ if (alpha != 255)
+ warning("STUB: Bitmap::drawShaded(%d, %d, %d, %d)", type, x, y, alpha);
putDib(x, y, (int32 *)palette, alpha);
}
void Bitmap::drawRotated(int x, int y, int angle, byte *palette, int alpha) {
- warning("STUB: Bitmap::drawShaded(%d, %d, %d)", x, y, angle);
+ warning("STUB: Bitmap::drawRotated(%d, %d, %d, %d)", x, y, angle, alpha);
putDib(x, y, (int32 *)palette, alpha);
}