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

ddraw/tests: Use a software VP device in test_surface_interface_mismatch.

parent a990dbfa
...@@ -940,7 +940,7 @@ static void test_surface_interface_mismatch(void) ...@@ -940,7 +940,7 @@ static void test_surface_interface_mismatch(void)
} }
memset(&z_fmt, 0, sizeof(z_fmt)); memset(&z_fmt, 0, sizeof(z_fmt));
hr = IDirect3D7_EnumZBufferFormats(d3d, &IID_IDirect3DTnLHalDevice, enum_z_fmt, &z_fmt); hr = IDirect3D7_EnumZBufferFormats(d3d, &IID_IDirect3DHALDevice, enum_z_fmt, &z_fmt);
if (FAILED(hr) || !z_fmt.dwSize) if (FAILED(hr) || !z_fmt.dwSize)
{ {
skip("No depth buffer formats available, skipping test.\n"); skip("No depth buffer formats available, skipping test.\n");
...@@ -968,7 +968,7 @@ static void test_surface_interface_mismatch(void) ...@@ -968,7 +968,7 @@ static void test_surface_interface_mismatch(void)
goto cleanup; goto cleanup;
/* Here too */ /* Here too */
hr = IDirect3D7_CreateDevice(d3d, &IID_IDirect3DTnLHalDevice, (IDirectDrawSurface7 *)surface3, &device); hr = IDirect3D7_CreateDevice(d3d, &IID_IDirect3DHALDevice, (IDirectDrawSurface7 *)surface3, &device);
ok(SUCCEEDED(hr), "Failed to create d3d device.\n"); ok(SUCCEEDED(hr), "Failed to create d3d device.\n");
if (FAILED(hr)) if (FAILED(hr))
goto cleanup; goto cleanup;
......
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