Permalink
Showing
with
2 additions
and
2 deletions.
-
+2
−2
engines/zvision/video/rlf_decoder.cpp
|
|
@@ -309,8 +309,8 @@ void RLFDecoder::RLFVideoTrack::decodeSimpleRunLengthEncoding(int8 *source, int8 |
|
|
} |
|
|
|
|
|
byte r, g, b; |
|
|
// NOTE: Color masks can't be used here, since accurate colors |
|
|
// are required to handle transparency correctly |
|
|
// NOTE: Color masks can't be used here, since accurate colors |
|
|
// are required to handle transparency correctly |
|
|
Graphics::PixelFormat(2, 5, 5, 5, 0, 10, 5, 0, 0).colorToRGB(READ_LE_UINT16(source + sourceOffset), r, g, b); |
|
|
uint16 sampleColor = Graphics::PixelFormat(2, 5, 6, 5, 0, 11, 5, 0, 0).RGBToColor(r, g, b); |
|
|
sourceOffset += 2; |
|
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.