http://bugs.winehq.org/show_bug.cgi?id=13646
--- Comment #13 from Paul Vriens Paul.Vriens.Wine@gmail.com 2008-06-03 14:13:53 --- The issue seems to be with:
2053 hr = IDirect3DDevice9_SetMaterial(device, NULL); 2054 ok(hr == D3DERR_INVALIDCALL, "Expected D3DERR_INVALIDCALL, got %s\n", DXGetErrorString9(hr));
in dlls/d3d9/tests/device.c
If I remove that SetMaterial call the test doesn't crash.