Henri Verbeet : d3d9: Use a HAL device for the stateblock tests.
Alexandre Julliard
julliard at winehq.org
Mon Dec 29 08:47:54 CST 2008
Module: wine
Branch: master
Commit: 1d9c8a2df7f261487bfc2d128c260d242c88f59e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1d9c8a2df7f261487bfc2d128c260d242c88f59e
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Mon Dec 29 09:14:29 2008 +0100
d3d9: Use a HAL device for the stateblock tests.
---
dlls/d3d9/tests/stateblock.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/d3d9/tests/stateblock.c b/dlls/d3d9/tests/stateblock.c
index b5680aa..42e3bdf 100644
--- a/dlls/d3d9/tests/stateblock.c
+++ b/dlls/d3d9/tests/stateblock.c
@@ -63,7 +63,7 @@ static HRESULT init_d3d9(
device_pparams->hDeviceWindow = window;
device_pparams->SwapEffect = D3DSWAPEFFECT_DISCARD;
- hres = IDirect3D9_CreateDevice(d3d9_ptr, D3DADAPTER_DEFAULT, D3DDEVTYPE_NULLREF, window,
+ hres = IDirect3D9_CreateDevice(d3d9_ptr, D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, window,
D3DCREATE_SOFTWARE_VERTEXPROCESSING, device_pparams, device);
ok(hres == D3D_OK || hres == D3DERR_NOTAVAILABLE,
"IDirect3D_CreateDevice returned: 0x%x\n", hres);
More information about the wine-cvs
mailing list