Disabling DirectDraw OWN_WINDOW

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Changes in X11 driver broke OWN_WINDOW mode used by DirectDraw code. 
For example, applications could no longer alter cursor in full screen
mode. Other functions that have something to do with thread
queue are also broken because Fallout 2 no longer displays splash screen.
This patch disables OWN_WINDOW which seems to be enough to make 
the broken applications work. 

Changelog:
  Disable OWN_WINDOW as it no longer works.

Index: dlls/ddraw/dsurface/user.c
===================================================================
RCS file: /home/wine/wine/dlls/ddraw/dsurface/user.c,v
retrieving revision 1.10
diff -u -r1.10 user.c
--- dlls/ddraw/dsurface/user.c  31 May 2002 23:25:46 -0000      1.10
+++ dlls/ddraw/dsurface/user.c  22 Jun 2002 09:41:22 -0000
@@ -35,7 +35,11 @@
 
 /* if you use OWN_WINDOW, don't use SYNC_UPDATE, or you may get trouble */
 /* #define SYNC_UPDATE */
-#define OWN_WINDOW
+/*
+ * FIXME: This does not work any more because the created window has its own 
+ *        thread queue that cannot be manipulated by application threads.
+ * #define OWN_WINDOW 
+ */
 
 #ifdef OWN_WINDOW
 static void User_create_own_window(IDirectDrawSurfaceImpl* This);

-- 
Jukka Heinonen <http://www.iki.fi/jhei/>


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux