[Bug 34235] SimPark requires 256 bit colors

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Jan 23 23:08:04 CST 2017


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

winetest at luukku.com changed:

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

--- Comment #10 from winetest at luukku.com ---
Does this patch help?


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 = 8;

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

If yes then bug 42215 is about same issue.

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