ddraw: Enable EnableAutoDepthStencil to receive depth support.

This commit is contained in:
Roderick Colenbrander 2008-05-01 23:46:03 +00:00 committed by Alexandre Julliard
parent 863b0cdff7
commit feb753c98d
1 changed files with 1 additions and 1 deletions

View File

@ -3108,7 +3108,7 @@ IDirectDrawImpl_AttachD3DDevice(IDirectDrawImpl *This,
localParameters.SwapEffect = WINED3DSWAPEFFECT_COPY;
localParameters.hDeviceWindow = window;
localParameters.Windowed = !(This->cooperative_level & DDSCL_FULLSCREEN);
localParameters.EnableAutoDepthStencil = FALSE;
localParameters.EnableAutoDepthStencil = TRUE;
localParameters.AutoDepthStencilFormat = WINED3DFMT_D16;
localParameters.Flags = 0;
localParameters.FullScreen_RefreshRateInHz = WINED3DPRESENT_RATE_DEFAULT; /* Default rate: It's already set */