aboutsummaryrefslogtreecommitdiff
path: root/video
diff options
context:
space:
mode:
authorBastien Bouclet2019-04-01 20:41:56 +0200
committerBastien Bouclet2019-04-01 20:49:51 +0200
commit43e04d19c4e398989a1ba7184d49657b7cedb1cf (patch)
treef732464807ad9e4c074a8bbd97a2038fba5e38b4 /video
parent195b4cbd207f20c193d86cc28aaeebca596955cf (diff)
downloadscummvm-rg350-43e04d19c4e398989a1ba7184d49657b7cedb1cf.tar.gz
scummvm-rg350-43e04d19c4e398989a1ba7184d49657b7cedb1cf.tar.bz2
scummvm-rg350-43e04d19c4e398989a1ba7184d49657b7cedb1cf.zip
VIDEO: Fix Bink clearing color comment
YUV 000 is a green, not black. Thanks DrMcCoy for noticing and fixing the issue.
Diffstat (limited to 'video')
-rw-r--r--video/bink_decoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/bink_decoder.cpp b/video/bink_decoder.cpp
index 0f33d21f81..406c6e4d34 100644
--- a/video/bink_decoder.cpp
+++ b/video/bink_decoder.cpp
@@ -302,7 +302,7 @@ BinkDecoder::BinkVideoTrack::BinkVideoTrack(uint32 width, uint32 height, const G
_oldPlanes[2] = new byte[_uvBlockWidth * 8 * _uvBlockHeight * 8]; // V, 1/4 resolution
_oldPlanes[3] = new byte[_yBlockWidth * 8 * _yBlockHeight * 8]; // A
- // Initialize the video with solid black
+ // Initialize the video with solid green
memset(_curPlanes[0], 0, _yBlockWidth * 8 * _yBlockHeight * 8);
memset(_curPlanes[1], 0, _uvBlockWidth * 8 * _uvBlockHeight * 8);
memset(_curPlanes[2], 0, _uvBlockWidth * 8 * _uvBlockHeight * 8);