aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorMartin Kiewitz2010-06-28 18:10:21 +0000
committerMartin Kiewitz2010-06-28 18:10:21 +0000
commit473c429b5cb7f96112f752a99fc62c7d4d4d55ee (patch)
tree4087f0359605b1602306b667ce7c021142173e35 /engines/sci
parentbc777403066e7a14b3b25d1ef4cf038723b85a02 (diff)
downloadscummvm-rg350-473c429b5cb7f96112f752a99fc62c7d4d4d55ee.tar.gz
scummvm-rg350-473c429b5cb7f96112f752a99fc62c7d4d4d55ee.tar.bz2
scummvm-rg350-473c429b5cb7f96112f752a99fc62c7d4d4d55ee.zip
SCI: updated comment about transparent pixels in views
svn-id: r50454
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/graphics/view.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/graphics/view.cpp b/engines/sci/graphics/view.cpp
index b3bc733383..ee9611b046 100644
--- a/engines/sci/graphics/view.cpp
+++ b/engines/sci/graphics/view.cpp
@@ -332,8 +332,8 @@ void GfxView::unpackCel(int16 loopNo, int16 celNo, byte *outPtr, uint32 pixelCou
pixelNo += runLength;
}
} else {
- // We skip over transparent pixels, so the buffer needs to be already
- // filled with "it". (FIXME: What is "it" supposed to mean here?)
+ // We fill the buffer with transparent pixels, so that we can later skip
+ // over pixels to automatically have them transparent
// Also some RLE compressed cels are possibly ending with the last
// non-transparent pixel (is this even possible with the current code?)
memset(outPtr, _loop[loopNo].cel[celNo].clearKey, pixelCount);