mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
ddraw/tests: Use a software VP device in test_surface_interface_mismatch.
This commit is contained in:
parent
a990dbfa22
commit
f39443787a
1 changed files with 2 additions and 2 deletions
|
@ -940,7 +940,7 @@ static void test_surface_interface_mismatch(void)
|
|||
}
|
||||
|
||||
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)
|
||||
{
|
||||
skip("No depth buffer formats available, skipping test.\n");
|
||||
|
@ -968,7 +968,7 @@ static void test_surface_interface_mismatch(void)
|
|||
goto cleanup;
|
||||
|
||||
/* 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");
|
||||
if (FAILED(hr))
|
||||
goto cleanup;
|
||||
|
|
Loading…
Reference in a new issue