mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 09:50:52 +00:00
d2d1/effect: Check that "Inputs" property was specified in the description.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
parent
05d8283a9d
commit
ffab990bd6
2 changed files with 2 additions and 2 deletions
|
@ -921,7 +921,8 @@ static HRESULT STDMETHODCALLTYPE d2d_factory_RegisterEffectFromStream(ID2D1Facto
|
|||
if (!parse_effect_get_property(effect, L"DisplayName")
|
||||
|| !parse_effect_get_property(effect, L"Author")
|
||||
|| !parse_effect_get_property(effect, L"Category")
|
||||
|| !parse_effect_get_property(effect, L"Description"))
|
||||
|| !parse_effect_get_property(effect, L"Description")
|
||||
|| !parse_effect_get_property(effect, L"Inputs"))
|
||||
{
|
||||
WARN("Missing required properties.\n");
|
||||
d2d_effect_registration_cleanup(effect);
|
||||
|
|
|
@ -10855,7 +10855,6 @@ static void test_effect_register(BOOL d3d11)
|
|||
winetest_push_context("Test %u", i);
|
||||
|
||||
hr = ID2D1Factory1_RegisterEffectFromString(factory, &CLSID_TestEffect, test->xml, NULL, 0, effect_impl_create);
|
||||
todo_wine_if(i == 5)
|
||||
ok(hr == test->hr, "Got unexpected hr %#lx, expected %#lx.\n", hr, test->hr);
|
||||
if (hr == S_OK)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue