Commit c27b37a7 authored by Detlef Riekenberg's avatar Detlef Riekenberg Committed by Alexandre Julliard

d3d9/tests: Fix test on win9x.

parent 38abbe3d
...@@ -122,8 +122,11 @@ static void test_mipmap_levels(void) ...@@ -122,8 +122,11 @@ static void test_mipmap_levels(void)
hr = IDirect3D9_CreateDevice( pD3d, D3DADAPTER_DEFAULT, D3DDEVTYPE_NULLREF, hwnd, hr = IDirect3D9_CreateDevice( pD3d, D3DADAPTER_DEFAULT, D3DDEVTYPE_NULLREF, hwnd,
D3DCREATE_SOFTWARE_VERTEXPROCESSING, &d3dpp, &pDevice ); D3DCREATE_SOFTWARE_VERTEXPROCESSING, &d3dpp, &pDevice );
ok(SUCCEEDED(hr), "Failed to create IDirect3D9Device (%08x)\n", hr); ok(SUCCEEDED(hr) || hr == D3DERR_NOTAVAILABLE, "Failed to create IDirect3D9Device (%08x)\n", hr);
if (FAILED(hr)) goto cleanup; if (FAILED(hr)) {
skip("failed to create a d3d device\n");
goto cleanup;
}
check_mipmap_levels(pDevice, 32, 32, 6); check_mipmap_levels(pDevice, 32, 32, 6);
check_mipmap_levels(pDevice, 256, 1, 9); check_mipmap_levels(pDevice, 256, 1, 9);
......
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