Small 'hack' for D3D support

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

 



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/
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;

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

  Powered by Linux