Commit 998426e6 authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

d3d9: Accept D3DDEVTYPE_REF devices in the vertex declaration test.

parent 47a8a6bd
...@@ -63,9 +63,13 @@ static IDirect3DDevice9 *init_d3d9(void) ...@@ -63,9 +63,13 @@ static IDirect3DDevice9 *init_d3d9(void)
if(FAILED(hres)) if(FAILED(hres))
{ {
hres = IDirect3D9_CreateDevice(d3d9_ptr, D3DADAPTER_DEFAULT, D3DDEVTYPE_REF, NULL, D3DCREATE_SOFTWARE_VERTEXPROCESSING, &present_parameters, &device_ptr);
if(FAILED(hres))
{
trace("could not create device, IDirect3D9_CreateDevice returned %#x\n", hres); trace("could not create device, IDirect3D9_CreateDevice returned %#x\n", hres);
return NULL; return NULL;
} }
}
return device_ptr; return device_ptr;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment