Small 'hack' for D3D support

Lionel Ulmer lionel.ulmer at free.fr
Sat Oct 19 04:13:06 CDT 2002


As long as Christian is re-activating the old D3D code, let's add one more
hack for games that actually check the driver capabilities :-)

Changelog:
 Add 3D support at the User driver level

-- 
		 Lionel Ulmer - http://www.bbrox.org/
-------------- next part --------------
Index: dlls/ddraw/ddraw/user.c
===================================================================
RCS file: /home/wine/wine/dlls/ddraw/ddraw/user.c,v
retrieving revision 1.10
diff -u -r1.10 user.c
--- dlls/ddraw/ddraw/user.c	10 Oct 2002 23:27:49 -0000	1.10
+++ dlls/ddraw/ddraw/user.c	19 Oct 2002 09:11:51 -0000
@@ -170,7 +170,7 @@
 		| DDFXCAPS_BLTSHRINKY | DDFXCAPS_BLTSHRINKXN		\
 		| DDFXCAPS_BLTSTRETCHX | DDFXCAPS_BLTSTRETCHXN		\
 		| DDFXCAPS_BLTSTRETCHY | DDFXCAPS_BLTSTRETCHYN)
-    This->caps.dwCaps |= DDCAPS_GDI | DDCAPS_PALETTE | BLIT_CAPS;
+    This->caps.dwCaps |= DDCAPS_GDI | DDCAPS_PALETTE | BLIT_CAPS /* Hack for D3D code */ | DDCAPS_3D;
     This->caps.dwCaps2 |= DDCAPS2_CERTIFIED | DDCAPS2_NOPAGELOCKREQUIRED |
 			  DDCAPS2_PRIMARYGAMMA | DDCAPS2_WIDESURFACES;
     This->caps.dwCKeyCaps |= CKEY_CAPS;


More information about the wine-patches mailing list