Henri Verbeet : d3d9: Also copy the AutoDepthStencilFormat field in GetPresentParameters().

Alexandre Julliard julliard at winehq.org
Thu Feb 19 09:18:41 CST 2009


Module: wine
Branch: master
Commit: 445255983d6fead5bffac681202b3bed8b7f0213
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=445255983d6fead5bffac681202b3bed8b7f0213

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Thu Feb 19 08:53:50 2009 +0100

d3d9: Also copy the AutoDepthStencilFormat field in GetPresentParameters().

---

 dlls/d3d9/swapchain.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/d3d9/swapchain.c b/dlls/d3d9/swapchain.c
index c14cc6d..6136069 100644
--- a/dlls/d3d9/swapchain.c
+++ b/dlls/d3d9/swapchain.c
@@ -167,6 +167,7 @@ static HRESULT WINAPI IDirect3DSwapChain9Impl_GetPresentParameters(LPDIRECT3DSWA
     pPresentationParameters->hDeviceWindow              = winePresentParameters.hDeviceWindow;
     pPresentationParameters->Windowed                   = winePresentParameters.Windowed;
     pPresentationParameters->EnableAutoDepthStencil     = winePresentParameters.EnableAutoDepthStencil;
+    pPresentationParameters->AutoDepthStencilFormat     = winePresentParameters.AutoDepthStencilFormat;
     pPresentationParameters->Flags                      = winePresentParameters.Flags;
     pPresentationParameters->FullScreen_RefreshRateInHz = winePresentParameters.FullScreen_RefreshRateInHz;
     pPresentationParameters->PresentationInterval       = winePresentParameters.PresentationInterval;




More information about the wine-cvs mailing list