SCI: updated comment about transparent pixels in views
svn-id: r50454
This commit is contained in:
parent
bc77740306
commit
473c429b5c
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue