[D3D8] Increase MaxStreams to 2 in CAPS

Christian Costa titan.costa at wanadoo.fr
Sat Apr 12 06:05:23 CDT 2003


Hi,

This patch makes some games to go further.

Bye.
Christian

Changelog :
Increase MaxStreams to 2 in CAPS.

Christian Costa   titan.costa at wanadoo.fr

-------------- next part --------------
Index: directx.c
===================================================================
RCS file: /home/wine/wine/dlls/d3d8/directx.c,v
retrieving revision 1.18
diff -u -r1.18 directx.c
--- directx.c	1 Feb 2003 00:35:36 -0000	1.18
+++ directx.c	12 Apr 2003 10:33:53 -0000
@@ -375,7 +375,7 @@
 
     pCaps->MaxPrimitiveCount = 0xFFFFFFFF;
     pCaps->MaxVertexIndex = 0xFFFFFFFF;
-    pCaps->MaxStreams = 1;
+    pCaps->MaxStreams = 2; /* HACK: Some games want at least 2 */ 
     pCaps->MaxStreamStride = 1024;
 
     pCaps->VertexShaderVersion = D3DVS_VERSION(1,1);


More information about the wine-patches mailing list