[Bug 9030] army men hangs on black screen

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jul 11 17:24:22 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=9030





--- Comment #28 from Pavel Prochazka <pavelvonlostice at seznam.cz>  2010-07-11 17:24:21 ---
Created an attachment (id=29544)
 --> (http://bugs.winehq.org/attachment.cgi?id=29544)
Armymen menu - with faked palette

I had created a simple faked palette just in CreatePalette, so I recieved some
usable pictures. I had stepped through army men initialization process and i
had discovered that this program gives a pretty odd palette to CreatePalette
call - 256-times R:0 G:0 B:0. Maybe Armymen relies on a default palette, maybe
not. Once more interesting article i found is that army men does all the
rendering through GetDC and ReleaseDC, so the palette is not probably needed.
Then the problem is in X11DRV_DIB_MapColor, because the search for acceptable
color fails and the function returns zero index - allways black color. This is
probably more general problem with translating colors between palette and DC.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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