diff options
author | Sven Hesse | 2008-12-12 13:32:24 +0000 |
---|---|---|
committer | Sven Hesse | 2008-12-12 13:32:24 +0000 |
commit | 2efe7bede0d5c659abd8e48b5de011d8c5266fc8 (patch) | |
tree | 5aad485a179953ec4eebdbfa3fdc72c7e1b521c3 | |
parent | 7e7d5c68edf2e65bc7964a40144d0b94ab95161d (diff) | |
download | scummvm-rg350-2efe7bede0d5c659abd8e48b5de011d8c5266fc8.tar.gz scummvm-rg350-2efe7bede0d5c659abd8e48b5de011d8c5266fc8.tar.bz2 scummvm-rg350-2efe7bede0d5c659abd8e48b5de011d8c5266fc8.zip |
Clean edges around transparent areas. Noticeable in the cursors, for example
svn-id: r35313
-rw-r--r-- | engines/gob/video_v6.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/video_v6.cpp b/engines/gob/video_v6.cpp index 72c460688a..76e0259ffd 100644 --- a/engines/gob/video_v6.cpp +++ b/engines/gob/video_v6.cpp @@ -146,7 +146,7 @@ void Video_v6::drawYUV(SurfaceDesc *destDesc, int16 x, int16 y, for (int n = 0; n < 4; n++, dest++, srcY++) { byte dY = *srcY << 1, dU = *srcU << 1, dV = *srcV << 1; - *dest = dither->dither(dY, dU, dV, j * 4 + n); + *dest = (dY == 0) ? 0 : dither->dither(dY, dU, dV, j * 4 + n); } } |