[Bug 4278] Splinter Cell: Pandora Tomorrow fails with need 32bit color
http://bugs.winehq.org/show_bug.cgi?id=4278 ------- Additional Comments From xerox_xerox2000(a)yahoo.co.uk 2006-20-01 09:26 ------- Hi , i just gave this a quick try as well and i too have the error. I did a +relay trace and removed all kernel32+ntdll calls as i guess the error won't be there: 0009:Call gdi32.GetDeviceCaps(000002e4,0000000c) ret=10910f4a 0009:Call winex11.drv.GetDeviceCaps(7ff04620,0000000c) ret=7f796fee 0009:Ret winex11.drv.GetDeviceCaps() retval=00000018 ret=7f796fee 0009:Ret gdi32.GetDeviceCaps() retval=00000018 ret=10910f4a 0009:Call user32.MessageBoxW(00000000,10219770 L"Please set your desktop color d epth to 32 bits.",10218f70 L"Desktop color depth error",00000000) ret=10910faf Just before the messagebox there's a call to gdi32.GetDeviceCaps . It returns 0x0000018 which is 24 and i guess that should be 32 (bits). If i add a quick hack in dlls/gdi32/dc.c line 888: if(cap==12 && hdc==0x000002e4) return 32; i can actually bypass the error, see the splash screen enter the menu, (which is completely screwed up and a lot of these messages: err:d3d:IDirect3DDevice8Impl_ActiveRender cannot get valides GLXFBConfig for (21,D3DFMT_A8R8G8B8)/(75,D3DFMT_D24S8)) So i guess this is a bug in gdi32 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
participants (1)
-
Wine Bugs