Additionnal hacks to get D3D to somewhat work again

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

 



Changelog:
 Additionnal exported capabilities to please some picky games.

-- 
		 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.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

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

  Powered by Linux