[Bug 40276] Half-Life: Transparency problem when displaying the logo video

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Jan 20 23:14:47 CST 2017


https://bugs.winehq.org/show_bug.cgi?id=40276

--- Comment #5 from Bruno Jesus <00cpxxx at gmail.com> ---
The specific problem in this bug seems to be that Wine's comctl32 chooses the
wrong background color to use as transparency. While Windows chooses 0x80808
Wine chooses 0xb0b0b.

0xb0b0b is indeed the color at GetPixel(0,0) from the first frame in the movie
so I don't know where the Windows value came from (my tests may be wrong).

By forcing the color to any color that is not in the video it works correctly
as it won't "draw" any transparency.

This is the code I'm talking about:
http://source.winehq.org/source/dlls/comctl32/animate.c#0303

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list