http://bugs.winehq.org/show_bug.cgi?id=13198
Alexander Dorofeyev alexd4@inbox.lv changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #13048|0 |1 is obsolete| |
--- Comment #5 from Alexander Dorofeyev alexd4@inbox.lv 2008-06-10 03:02:26 --- Created an attachment (id=13867) --> (http://bugs.winehq.org/attachment.cgi?id=13867) illustrative hack in winex11
I investigated some more and discovered that not setting ddraw palettes is not really normal operation for the game. It appears what it actually needs is RC_PALETTE flag from GetDeviceCaps. Current implementation of winex11 doesn't normally set this flag because in non-paletted modes palette_size is 0.
With this flag, the game apparently takes a path it otherwise doesn't and properly sets palettes for ddraw. It then works happily in both gdi and opengl rendering.