Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
59e641aa
Commit
59e641aa
authored
Mar 30, 2015
by
Henri Verbeet
Committed by
Alexandre Julliard
Mar 30, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d2d1: Implement d2d_d3d_render_target_RestoreDrawingState().
parent
3f970564
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
render_target.c
dlls/d2d1/render_target.c
+11
-1
No files found.
dlls/d2d1/render_target.c
View file @
59e641aa
...
@@ -949,7 +949,17 @@ static void STDMETHODCALLTYPE d2d_d3d_render_target_SaveDrawingState(ID2D1Render
...
@@ -949,7 +949,17 @@ static void STDMETHODCALLTYPE d2d_d3d_render_target_SaveDrawingState(ID2D1Render
static
void
STDMETHODCALLTYPE
d2d_d3d_render_target_RestoreDrawingState
(
ID2D1RenderTarget
*
iface
,
static
void
STDMETHODCALLTYPE
d2d_d3d_render_target_RestoreDrawingState
(
ID2D1RenderTarget
*
iface
,
ID2D1DrawingStateBlock
*
state_block
)
ID2D1DrawingStateBlock
*
state_block
)
{
{
FIXME
(
"iface %p, state_block %p stub!
\n
"
,
iface
,
state_block
);
struct
d2d_state_block
*
state_block_impl
=
unsafe_impl_from_ID2D1DrawingStateBlock
(
state_block
);
struct
d2d_d3d_render_target
*
render_target
=
impl_from_ID2D1RenderTarget
(
iface
);
TRACE
(
"iface %p, state_block %p.
\n
"
,
iface
,
state_block
);
render_target
->
drawing_state
=
state_block_impl
->
drawing_state
;
if
(
state_block_impl
->
text_rendering_params
)
IDWriteRenderingParams_AddRef
(
state_block_impl
->
text_rendering_params
);
if
(
render_target
->
text_rendering_params
)
IDWriteRenderingParams_Release
(
render_target
->
text_rendering_params
);
render_target
->
text_rendering_params
=
state_block_impl
->
text_rendering_params
;
}
}
static
void
STDMETHODCALLTYPE
d2d_d3d_render_target_PushAxisAlignedClip
(
ID2D1RenderTarget
*
iface
,
static
void
STDMETHODCALLTYPE
d2d_d3d_render_target_PushAxisAlignedClip
(
ID2D1RenderTarget
*
iface
,
...
...
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