Additionnal hacks to get D3D to somewhat work again

Lionel Ulmer lionel.ulmer at free.fr
Fri Nov 1 07:01:51 CST 2002


Changelog:
 Additionnal exported capabilities to please some picky games.

-- 
		 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.11
diff -u -r1.11 user.c
--- dlls/ddraw/ddraw/user.c	19 Oct 2002 17:16:00 -0000	1.11
+++ dlls/ddraw/ddraw/user.c	1 Nov 2002 12:51:42 -0000
@@ -191,7 +191,8 @@
 				 DDSCAPS_FLIP | DDSCAPS_FRONTBUFFER |
 				 DDSCAPS_OFFSCREENPLAIN | DDSCAPS_PALETTE |
 				 DDSCAPS_PRIMARYSURFACE | DDSCAPS_SYSTEMMEMORY |
-				 DDSCAPS_VIDEOMEMORY | DDSCAPS_VISIBLE;
+				 DDSCAPS_VIDEOMEMORY | DDSCAPS_VISIBLE | /* Hacks for D3D code */
+				 DDSCAPS_3DDEVICE | DDSCAPS_MIPMAP | DDSCAPS_TEXTURE | DDSCAPS_ZBUFFER;
     This->caps.ddsOldCaps.dwCaps = This->caps.ddsCaps.dwCaps;
 #undef BLIT_CAPS
 #undef CKEY_CAPS


More information about the wine-patches mailing list