[Bug 13198] Microsoft Pinball Arcade black/blank window in 24bpp mode

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jun 10 03:02:26 CDT 2008


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


Alexander Dorofeyev <alexd4 at inbox.lv> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #13048|0                           |1
        is obsolete|                            |




--- Comment #5 from Alexander Dorofeyev <alexd4 at 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.


-- 
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