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

This commit is contained in:
Henri Verbeet 2009-02-19 08:53:50 +01:00 committed by Alexandre Julliard
parent 828f42cb1f
commit 445255983d

View File

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