[Bug 2082] running Diablo v1.09 results in black screen..
Wine Bugs
wine-bugs at winehq.org
Mon Jun 19 05:29:05 CDT 2006
http://bugs.winehq.org/show_bug.cgi?id=2082
------- Additional Comments From saulius.krasuckas at elst.vtu.lt 2006-19-06 05:29 -------
Created an attachment (id=2673)
--> (http://bugs.winehq.org/attachment.cgi?id=2673&action=view)
patch which makes Diablo menu happy after DDraw rewrite
After the DDraw rewrite [8] old menu hack isn't possible to apply. This is
updated and somewhat working hack:
--- a/dlls/wined3d/surface_gdi.c
+++ b/dlls/wined3d/surface_gdi.c
@@ -60,7 +60,7 @@ x11_copy_to_screen(IWineD3DSurfaceImpl *
hSurfaceDC = This->hDC;
- hDisplayWnd = This->resource.wineD3DDevice->ddraw_window;
+ hDisplayWnd = GetDesktopWindow();
hDisplayDC = GetDCEx(hDisplayWnd, 0, DCX_CLIPSIBLINGS|DCX_CACHE);
if(rc)
{
[8]http://source.winehq.org/git/?p=wine.git;a=commit;h=c8901d6f6253f6c97610eb1068ac4ff89758ed0a
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the wine-bugs
mailing list