diff options
Diffstat (limited to 'engines/fullpipe/gfx.cpp')
-rw-r--r-- | engines/fullpipe/gfx.cpp | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/engines/fullpipe/gfx.cpp b/engines/fullpipe/gfx.cpp index 5681e3c615..4dec4b640c 100644 --- a/engines/fullpipe/gfx.cpp +++ b/engines/fullpipe/gfx.cpp @@ -833,7 +833,7 @@ void Bitmap::decode(int32 *palette) { putDibCB(palette); } -void Bitmap::putDib(int x, int y, int32 *palette, int alpha) { +void Bitmap::putDib(int x, int y, int32 *palette, byte alpha) { debugC(7, kDebugDrawing, "Bitmap::putDib(%d, %d)", x, y); int x1 = x - g_fp->_sceneRect.left; @@ -1180,15 +1180,7 @@ void BigPicture::draw(int x, int y, int style, int angle) { if (y != -1) ny = y; - if (_alpha < 0xFF) { - //vrtSetAlphaBlendMode(g_vrtDrawHandle, 1, v9); - } - - _bitmap->putDib(nx, ny, 0, 0xff); - - if (_alpha < 0xFF) { - //vrtSetAlphaBlendMode(g_vrtDrawHandle, 0, 255); - } + _bitmap->putDib(nx, ny, 0, _alpha); } } |