Module: wine Branch: master Commit: 19c574b7e51ce80572c471ea413b15f0eff343c0 URL: http://source.winehq.org/git/wine.git/?a=commit;h=19c574b7e51ce80572c471ea41...
Author: Stefan Dösinger stefan@codeweavers.com Date: Tue Jul 24 15:38:17 2007 +0200
d3d8: Use a less demanding format for the depth stencil test.
---
dlls/d3d8/tests/device.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/d3d8/tests/device.c b/dlls/d3d8/tests/device.c index b0d4137..3f04db3 100644 --- a/dlls/d3d8/tests/device.c +++ b/dlls/d3d8/tests/device.c @@ -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 );