mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 08:50:34 +00:00
d3d8: Use a less demanding format for the depth stencil test.
This commit is contained in:
parent
9a06fd000b
commit
19c574b7e5
|
@ -513,7 +513,7 @@ static void test_refcount(void)
|
|||
}
|
||||
}
|
||||
/* Surfaces */
|
||||
hr = IDirect3DDevice8_CreateDepthStencilSurface( pDevice, 32, 32, D3DFMT_D24S8, D3DMULTISAMPLE_NONE, &pStencilSurface );
|
||||
hr = IDirect3DDevice8_CreateDepthStencilSurface( pDevice, 32, 32, D3DFMT_D16, D3DMULTISAMPLE_NONE, &pStencilSurface );
|
||||
CHECK_CALL( hr, "CreateDepthStencilSurface", pDevice, ++refcount );
|
||||
CHECK_REFCOUNT( pStencilSurface, 1);
|
||||
hr = IDirect3DDevice8_CreateImageSurface( pDevice, 32, 32, D3DFMT_X8R8G8B8, &pImageSurface );
|
||||
|
|
Loading…
Reference in a new issue