[D3D8] Increase MaxStreams to 2 in CAPS

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

 



Hi,

This patch makes some games to go further.

Bye.
Christian

Changelog :
Increase MaxStreams to 2 in CAPS.

Christian Costa titan.costa@wanadoo.fr

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

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

  Powered by Linux