http://bugs.winehq.org/show_bug.cgi?id=9030
--- Comment #28 from Pavel Prochazka pavelvonlostice@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.