Module: wine Branch: master Commit: c0892c2f35d3f67c4d1f8b1decbf5444d7354655 URL: http://source.winehq.org/git/wine.git/?a=commit;h=c0892c2f35d3f67c4d1f8b1dec...
Author: Stefan Dösinger stefan@codeweavers.com Date: Wed Aug 5 15:58:19 2009 +0200
ddraw: d3d7 does not support two sided stencil.
The header is wrong. There is simply no API to set this. The MS header does not have this declaration either.
---
dlls/ddraw/direct3d.c | 2 +- include/d3dcaps.h | 1 - 2 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/ddraw/direct3d.c b/dlls/ddraw/direct3d.c index 9ce0d36..88d5f2f 100644 --- a/dlls/ddraw/direct3d.c +++ b/dlls/ddraw/direct3d.c @@ -1324,7 +1324,7 @@ IDirect3DImpl_GetCaps(IWineD3D *WineD3D, Desc7->dwStencilCaps &= ( D3DSTENCILCAPS_KEEP | D3DSTENCILCAPS_ZERO | D3DSTENCILCAPS_REPLACE | D3DSTENCILCAPS_INCRSAT | D3DSTENCILCAPS_DECRSAT | D3DSTENCILCAPS_INVERT | - D3DSTENCILCAPS_INCR | D3DSTENCILCAPS_DECR | D3DSTENCILCAPS_TWOSIDED); + D3DSTENCILCAPS_INCR | D3DSTENCILCAPS_DECR);
/* FVF caps ?*/
diff --git a/include/d3dcaps.h b/include/d3dcaps.h index f96ca5d..b44c49d 100644 --- a/include/d3dcaps.h +++ b/include/d3dcaps.h @@ -311,7 +311,6 @@ typedef struct _D3DDeviceDesc7 { #define D3DSTENCILCAPS_INVERT 0x00000020 #define D3DSTENCILCAPS_INCR 0x00000040 #define D3DSTENCILCAPS_DECR 0x00000080 -#define D3DSTENCILCAPS_TWOSIDED 0x00000100
#define D3DTEXOPCAPS_DISABLE 0x00000001 #define D3DTEXOPCAPS_SELECTARG1 0x00000002