SCI: updated comment about transparent pixels in views

svn-id: r50454
This commit is contained in:
Martin Kiewitz 2010-06-28 18:10:21 +00:00
parent bc77740306
commit 473c429b5c

View file

@ -332,8 +332,8 @@ void GfxView::unpackCel(int16 loopNo, int16 celNo, byte *outPtr, uint32 pixelCou
pixelNo += runLength; pixelNo += runLength;
} }
} else { } else {
// We skip over transparent pixels, so the buffer needs to be already // We fill the buffer with transparent pixels, so that we can later skip
// filled with "it". (FIXME: What is "it" supposed to mean here?) // over pixels to automatically have them transparent
// Also some RLE compressed cels are possibly ending with the last // Also some RLE compressed cels are possibly ending with the last
// non-transparent pixel (is this even possible with the current code?) // non-transparent pixel (is this even possible with the current code?)
memset(outPtr, _loop[loopNo].cel[celNo].clearKey, pixelCount); memset(outPtr, _loop[loopNo].cel[celNo].clearKey, pixelCount);