From: Zhiyi Zhang zzhang@codeweavers.com
--- dlls/d2d1/effect.c | 13 +++++++++++++ dlls/d2d1/tests/d2d1.c | 1 + 2 files changed, 14 insertions(+)
diff --git a/dlls/d2d1/effect.c b/dlls/d2d1/effect.c index 7ea6673e274..11dd7efba99 100644 --- a/dlls/d2d1/effect.c +++ b/dlls/d2d1/effect.c @@ -1071,6 +1071,18 @@ L"<?xml version='1.0'?> \ </Inputs> \ </Effect>";
+static const WCHAR color_matrix_description[] = +L"<?xml version='1.0'?> \ + <Effect> \ + <Property name='DisplayName' type='string' value='Color Matrix'/> \ + <Property name='Author' type='string' value='The Wine Project'/> \ + <Property name='Category' type='string' value='Stub'/> \ + <Property name='Description' type='string' value='Color Matrix'/> \ + <Inputs > \ + <Input name='Source'/> \ + </Inputs> \ + </Effect>"; + void d2d_effects_init_builtins(struct d2d_factory *factory) { static const struct builtin_description @@ -1086,6 +1098,7 @@ void d2d_effects_init_builtins(struct d2d_factory *factory) { &CLSID_D2D1Crop, crop_description }, { &CLSID_D2D1Shadow, shadow_description }, { &CLSID_D2D1Grayscale, grayscale_description }, + { &CLSID_D2D1ColorMatrix, color_matrix_description }, }; unsigned int i; HRESULT hr; diff --git a/dlls/d2d1/tests/d2d1.c b/dlls/d2d1/tests/d2d1.c index 40bcf5079b8..c286eaf4374 100644 --- a/dlls/d2d1/tests/d2d1.c +++ b/dlls/d2d1/tests/d2d1.c @@ -10991,6 +10991,7 @@ static void test_builtin_effect(BOOL d3d11) {&CLSID_D2D1Crop, 1, 1, 1, 1}, {&CLSID_D2D1Shadow, 1, 1, 1, 1}, {&CLSID_D2D1Grayscale, 3, 1, 1, 1}, + {&CLSID_D2D1ColorMatrix, 1, 1, 1, 1}, };
if (!init_test_context(&ctx, d3d11))