[Bug 29521] Warhammer Darkomen starts with blank screen

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Feb 2 04:37:09 CST 2017


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

winetest at luukku.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |winetest at luukku.com

--- Comment #13 from winetest at luukku.com ---
(In reply to James Carthew from comment #8)
> This is being caused by wine's page flipping support in DirectX 5. When the
> game is patched to Blit to the screen by hex editing a value in the .EXE the
> menus load and graphics display. The game should be run in 16-bit mode for
> best visual effect. This bug is not fixed. I have posted screenshots of the
> game with blitting set to on.

This patch should help for 16bit mode.


diff --git a/dlls/winex11.drv/x11drv_main.c b/dlls/winex11.drv/x11drv_main.c
index d4f5c84..10ee851 100644
--- a/dlls/winex11.drv/x11drv_main.c
+++ b/dlls/winex11.drv/x11drv_main.c
@@ -562,7 +562,7 @@ static BOOL process_attach(void)

     init_pixmap_formats( display );
     init_visuals( display, DefaultScreen( display ));
-    screen_bpp = pixmap_formats[default_visual.depth]->bits_per_pixel;
+    screen_bpp = 16;

     XInternAtoms( display, (char **)atom_names, NB_XATOMS - FIRST_XATOM,
False, X11DRV_Atoms );

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