From 845103c7ddb65a9e0baa24be8b12840835bc213e Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Thu, 26 Mar 2015 09:41:18 +0100 Subject: [PATCH] d2d1: Implement d2d_d3d_render_target_GetTextRenderingParams(). --- dlls/d2d1/render_target.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dlls/d2d1/render_target.c b/dlls/d2d1/render_target.c index 8eccc25dfa0..80f9feadc8c 100644 --- a/dlls/d2d1/render_target.c +++ b/dlls/d2d1/render_target.c @@ -872,9 +872,12 @@ static void STDMETHODCALLTYPE d2d_d3d_render_target_SetTextRenderingParams(ID2D1 static void STDMETHODCALLTYPE d2d_d3d_render_target_GetTextRenderingParams(ID2D1RenderTarget *iface, IDWriteRenderingParams **text_rendering_params) { - FIXME("iface %p, text_rendering_params %p stub!\n", iface, text_rendering_params); + struct d2d_d3d_render_target *render_target = impl_from_ID2D1RenderTarget(iface); - *text_rendering_params = NULL; + TRACE("iface %p, text_rendering_params %p.\n", iface, text_rendering_params); + + if ((*text_rendering_params = render_target->text_rendering_params)) + IDWriteRenderingParams_AddRef(*text_rendering_params); } static void STDMETHODCALLTYPE d2d_d3d_render_target_SetTags(ID2D1RenderTarget *iface, D2D1_TAG tag1, D2D1_TAG tag2)