[Scummvm-cvs-logs] SF.net SVN: scummvm:[35313] scummvm/trunk/engines/gob/video_v6.cpp
drmccoy at users.sourceforge.net
drmccoy at users.sourceforge.net
Fri Dec 12 14:32:24 CET 2008
Revision: 35313
http://scummvm.svn.sourceforge.net/scummvm/?rev=35313&view=rev
Author: drmccoy
Date: 2008-12-12 13:32:24 +0000 (Fri, 12 Dec 2008)
Log Message:
-----------
Clean edges around transparent areas. Noticeable in the cursors, for example
Modified Paths:
--------------
scummvm/trunk/engines/gob/video_v6.cpp
Modified: scummvm/trunk/engines/gob/video_v6.cpp
===================================================================
--- scummvm/trunk/engines/gob/video_v6.cpp 2008-12-12 04:52:37 UTC (rev 35312)
+++ scummvm/trunk/engines/gob/video_v6.cpp 2008-12-12 13:32:24 UTC (rev 35313)
@@ -146,7 +146,7 @@
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);
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list