Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
cda5f68a
Commit
cda5f68a
authored
Jun 27, 2022
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jun 27, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d2d1/effect: Use known names for automatically added properties.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
parent
e2908463
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
effect.c
dlls/d2d1/effect.c
+5
-5
No files found.
dlls/d2d1/effect.c
View file @
cda5f68a
...
...
@@ -1175,9 +1175,9 @@ HRESULT d2d_effect_create(struct d2d_device_context *context, const CLSID *effec
{
WCHAR
max_inputs
[
32
];
swprintf
(
max_inputs
,
ARRAY_SIZE
(
max_inputs
),
L"%lu"
,
builtin
->
max_inputs
);
d2d_effect_properties_add
(
&
object
->
properties
,
L""
,
D2D1_PROPERTY_MIN_INPUTS
,
d2d_effect_properties_add
(
&
object
->
properties
,
L"
MinInputs
"
,
D2D1_PROPERTY_MIN_INPUTS
,
D2D1_PROPERTY_TYPE_UINT32
,
L"1"
);
d2d_effect_properties_add
(
&
object
->
properties
,
L""
,
D2D1_PROPERTY_MAX_INPUTS
,
d2d_effect_properties_add
(
&
object
->
properties
,
L"
MaxInputs
"
,
D2D1_PROPERTY_MAX_INPUTS
,
D2D1_PROPERTY_TYPE_UINT32
,
max_inputs
);
d2d_effect_SetInputCount
(
&
object
->
ID2D1Effect_iface
,
builtin
->
default_input_count
);
...
...
@@ -1187,9 +1187,9 @@ HRESULT d2d_effect_create(struct d2d_device_context *context, const CLSID *effec
else
{
d2d_effect_duplicate_properties
(
&
object
->
properties
,
&
reg
->
properties
);
d2d_effect_properties_add
(
&
object
->
properties
,
L""
,
D2D1_PROPERTY_MIN_INPUTS
,
d2d_effect_properties_add
(
&
object
->
properties
,
L"
MinInputs
"
,
D2D1_PROPERTY_MIN_INPUTS
,
D2D1_PROPERTY_TYPE_UINT32
,
L"1"
);
d2d_effect_properties_add
(
&
object
->
properties
,
L""
,
D2D1_PROPERTY_MAX_INPUTS
,
d2d_effect_properties_add
(
&
object
->
properties
,
L"
MaxInputs
"
,
D2D1_PROPERTY_MAX_INPUTS
,
D2D1_PROPERTY_TYPE_UINT32
,
L"1"
/* FIXME */
);
d2d_effect_SetInputCount
(
&
object
->
ID2D1Effect_iface
,
1
);
...
...
@@ -1197,7 +1197,7 @@ HRESULT d2d_effect_create(struct d2d_device_context *context, const CLSID *effec
factory
=
reg
->
factory
;
}
d2d_effect_properties_add
(
&
object
->
properties
,
L""
,
D2D1_PROPERTY_CLSID
,
D2D1_PROPERTY_TYPE_CLSID
,
clsidW
);
d2d_effect_properties_add
(
&
object
->
properties
,
L"
CLSID
"
,
D2D1_PROPERTY_CLSID
,
D2D1_PROPERTY_TYPE_CLSID
,
clsidW
);
d2d_effect_properties_add
(
&
object
->
properties
,
L"Cached"
,
D2D1_PROPERTY_CACHED
,
D2D1_PROPERTY_TYPE_BOOL
,
L"false"
);
if
(
FAILED
(
hr
=
factory
((
IUnknown
**
)
&
object
->
impl
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment