[Bug 11019] matlab r14 hangs on splash screen

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Jan 5 06:33:31 CST 2008


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





--- Comment #3 from Andrew Charles Hurst <a.hurst at shef.ac.uk>  2008-01-05 06:33:30 ---
I've found the problem.
The switch (screen_depth) case 24: clause lies.

this fixes the bug:

-------------------------------------------------------------------------------
diff --git a/dlls/winex11.drv/x11drv_main.c b/dlls/winex11.drv/x11drv_main.c
index 11cd33a..2059045 100644
--- a/dlls/winex11.drv/x11drv_main.c
+++ b/dlls/winex11.drv/x11drv_main.c
@@ -516,7 +516,7 @@ static BOOL process_attach(void)
              * should check the framebuffer and/or opengl formats available to
find out what the
              * framebuffer actually does
              */
-            screen_bpp = 32;
+            screen_bpp = 24;
             break;

         default:
-------------------------------------------------------------------------------


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list