d3d9: Use a HAL device for the stateblock tests.

Henri Verbeet hverbeet at codeweavers.com
Mon Dec 29 02:14:29 CST 2008


---
 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);
-- 
1.6.0.6



--------------060705030500060605020705--



More information about the wine-patches mailing list