mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 19:49:50 +00:00
d3d10/tests: Test NULL device for D3D10CreateEffectFromMemory and D3D10CreateEffectPoolFromMemory.
This commit is contained in:
parent
eddf252aff
commit
6c4f9ec527
1 changed files with 12 additions and 0 deletions
|
@ -118,6 +118,12 @@ static void test_effect_constant_buffer_type(void)
|
|||
return;
|
||||
}
|
||||
|
||||
if (strcmp(winetest_platform, "wine")) /* Crash on wine. */
|
||||
{
|
||||
hr = create_effect(fx_test_ecbt, 0, NULL, NULL, &effect);
|
||||
ok(hr == D3DERR_INVALIDCALL, "Got unexpected hr %#lx.\n", hr);
|
||||
}
|
||||
|
||||
hr = create_effect(fx_test_ecbt, 0, device, NULL, &effect);
|
||||
ok(hr == S_OK, "Got unexpected hr %#lx.\n", hr);
|
||||
|
||||
|
@ -7117,6 +7123,12 @@ static void test_effect_pool(void)
|
|||
todo_wine
|
||||
ok(hr == E_INVALIDARG, "Got unexpected hr %#lx.\n", hr);
|
||||
|
||||
if (strcmp(winetest_platform, "wine")) /* Crash on wine. */
|
||||
{
|
||||
hr = create_effect_pool(fx_test_pool, NULL, &pool);
|
||||
ok(hr == D3DERR_INVALIDCALL, "Got unexpected hr %#lx.\n", hr);
|
||||
}
|
||||
|
||||
hr = create_effect_pool(fx_test_pool, device, &pool);
|
||||
ok(hr == S_OK, "Got unexpected hr %#lx.\n", hr);
|
||||
|
||||
|
|
Loading…
Reference in a new issue