From c0892c2f35d3f67c4d1f8b1decbf5444d7354655 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20D=C3=B6singer?= Date: Wed, 5 Aug 2009 15:58:19 +0200 Subject: [PATCH] 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 insertion(+), 2 deletions(-) diff --git a/dlls/ddraw/direct3d.c b/dlls/ddraw/direct3d.c index 9ce0d3664af..88d5f2f8507 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 f96ca5dc7ce..b44c49d1cb2 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