aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2016-09-21 06:48:35 +0200
committerEugene Sandulenko2016-09-21 08:11:55 +0200
commitd0da9069cefb16930b55b4fdb38b126b4802dff1 (patch)
tree6ba1b9c2eb128ca7fbb4b5144212d586e52ae054
parent25d1522166ef911852bfaa0c67e08f340923b32d (diff)
downloadscummvm-rg350-d0da9069cefb16930b55b4fdb38b126b4802dff1.tar.gz
scummvm-rg350-d0da9069cefb16930b55b4fdb38b126b4802dff1.tar.bz2
scummvm-rg350-d0da9069cefb16930b55b4fdb38b126b4802dff1.zip
FULLPIPE: Fix alpha data type
-rw-r--r--engines/fullpipe/gfx.cpp2
-rw-r--r--engines/fullpipe/gfx.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/fullpipe/gfx.cpp b/engines/fullpipe/gfx.cpp
index 0007389ec9..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;
diff --git a/engines/fullpipe/gfx.h b/engines/fullpipe/gfx.h
index cbba550041..566586fb48 100644
--- a/engines/fullpipe/gfx.h
+++ b/engines/fullpipe/gfx.h
@@ -47,7 +47,7 @@ struct Bitmap {
void load(Common::ReadStream *s);
void decode(int32 *palette);
- void putDib(int x, int y, int32 *palette, int alpha);
+ void putDib(int x, int y, int32 *palette, byte alpha);
bool putDibRB(int32 *palette);
void putDibCB(int32 *palette);