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
3d8e7ea6
Commit
3d8e7ea6
authored
May 09, 2023
by
Michael Stefaniuc
Committed by
Alexandre Julliard
May 10, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d2d1: Remove superfluous casts to self.
parent
de034b36
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
brush.c
dlls/d2d1/brush.c
+1
-1
device.c
dlls/d2d1/device.c
+1
-1
d2d1.c
dlls/d2d1/tests/d2d1.c
+1
-1
No files found.
dlls/d2d1/brush.c
View file @
3d8e7ea6
...
@@ -1258,7 +1258,7 @@ static void STDMETHODCALLTYPE d2d_image_brush_GetImage(ID2D1ImageBrush *iface, I
...
@@ -1258,7 +1258,7 @@ static void STDMETHODCALLTYPE d2d_image_brush_GetImage(ID2D1ImageBrush *iface, I
TRACE
(
"iface %p, image %p.
\n
"
,
iface
,
image
);
TRACE
(
"iface %p, image %p.
\n
"
,
iface
,
image
);
if
((
*
image
=
(
ID2D1Image
*
)
brush
->
u
.
image
.
image
))
if
((
*
image
=
brush
->
u
.
image
.
image
))
ID2D1Image_AddRef
(
*
image
);
ID2D1Image_AddRef
(
*
image
);
}
}
...
...
dlls/d2d1/device.c
View file @
3d8e7ea6
...
@@ -2338,7 +2338,7 @@ static void STDMETHODCALLTYPE d2d_device_context_GetDevice(ID2D1DeviceContext1 *
...
@@ -2338,7 +2338,7 @@ static void STDMETHODCALLTYPE d2d_device_context_GetDevice(ID2D1DeviceContext1 *
TRACE
(
"iface %p, device %p.
\n
"
,
iface
,
device
);
TRACE
(
"iface %p, device %p.
\n
"
,
iface
,
device
);
*
device
=
(
ID2D1Device
*
)
context
->
device
;
*
device
=
context
->
device
;
ID2D1Device_AddRef
(
*
device
);
ID2D1Device_AddRef
(
*
device
);
}
}
...
...
dlls/d2d1/tests/d2d1.c
View file @
3d8e7ea6
...
@@ -9786,7 +9786,7 @@ static void test_command_list(BOOL d3d11)
...
@@ -9786,7 +9786,7 @@ static void test_command_list(BOOL d3d11)
stroke_desc
.
dashStyle
=
D2D1_DASH_STYLE_DOT
;
stroke_desc
.
dashStyle
=
D2D1_DASH_STYLE_DOT
;
stroke_desc
.
dashOffset
=
-
1
.
0
f
;
stroke_desc
.
dashOffset
=
-
1
.
0
f
;
hr
=
ID2D1Factory_CreateStrokeStyle
(
(
ID2D1Factory
*
)
ctx
.
factory
,
&
stroke_desc
,
NULL
,
0
,
&
stroke_style
);
hr
=
ID2D1Factory_CreateStrokeStyle
(
ctx
.
factory
,
&
stroke_desc
,
NULL
,
0
,
&
stroke_style
);
ok
(
hr
==
S_OK
,
"Got unexpected hr %#lx.
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"Got unexpected hr %#lx.
\n
"
,
hr
);
set_color
(
&
color
,
0
.
0
f
,
0
.
0
f
,
0
.
0
f
,
0
.
0
f
);
set_color
(
&
color
,
0
.
0
f
,
0
.
0
f
,
0
.
0
f
,
0
.
0
f
);
...
...
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