diff options
author | Eugene Sandulenko | 2010-09-13 21:45:44 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2010-10-12 23:47:05 +0000 |
commit | e0cd481d95f23f949def29c25ad4dedd507da133 (patch) | |
tree | 5bb31f311b1e7644905bb652f9797d8c7d672af4 /engines/sword25/gfx/image/vectorimagerenderer.cpp | |
parent | 72104f0f0f64786a7e1343cdc6211d752a5d01a2 (diff) | |
download | scummvm-rg350-e0cd481d95f23f949def29c25ad4dedd507da133.tar.gz scummvm-rg350-e0cd481d95f23f949def29c25ad4dedd507da133.tar.bz2 scummvm-rg350-e0cd481d95f23f949def29c25ad4dedd507da133.zip |
SWORD25: Confirmed correctness of vector images alpha blending
svn-id: r53346
Diffstat (limited to 'engines/sword25/gfx/image/vectorimagerenderer.cpp')
-rw-r--r-- | engines/sword25/gfx/image/vectorimagerenderer.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/engines/sword25/gfx/image/vectorimagerenderer.cpp b/engines/sword25/gfx/image/vectorimagerenderer.cpp index 4a791eb80b..961bc693e5 100644 --- a/engines/sword25/gfx/image/vectorimagerenderer.cpp +++ b/engines/sword25/gfx/image/vectorimagerenderer.cpp @@ -67,7 +67,6 @@ void art_rgb_run_alpha1(art_u8 *buf, art_u8 r, art_u8 g, art_u8 b, int alpha, in v = *buf; *buf++ = v + (((r - v) * alpha + 0x80) >> 8); v = *buf; - // FIXME: Is this correct? *buf++ = MIN(v + alpha, 0xff); } } |