DIRECTOR: add comments for BITD decoder.

This commit is contained in:
ysj1173886760 2021-08-20 22:36:22 +08:00
parent a77da4dc37
commit dbdec32b7d

View File

@ -288,6 +288,8 @@ bool BITDDecoder::loadStream(Common::SeekableReadStream &stream) {
break;
case 32:
// if we have the issue in D3 32bpp images, then the way to fix it should be the same as 16bpp images.
// check the code above, there is different behaviour between in D4 and D3. Currently we are only using D4.
convertPixelIntoSurface(_surface->getBasePtr(x, y),
(_bitsPerPixel / 8),
_surface->format.bytesPerPixel,