Commit eeed1bb5 authored by Ziqing Hui's avatar Ziqing Hui Committed by Alexandre Julliard

d2d1: Implement GetUnitMode().

parent 12185195
......@@ -2154,9 +2154,11 @@ static void STDMETHODCALLTYPE d2d_device_context_SetUnitMode(ID2D1DeviceContext
static D2D1_UNIT_MODE STDMETHODCALLTYPE d2d_device_context_GetUnitMode(ID2D1DeviceContext *iface)
{
FIXME("iface %p stub!\n", iface);
struct d2d_device_context *context = impl_from_ID2D1DeviceContext(iface);
TRACE("iface %p.\n", iface);
return D2D1_UNIT_MODE_DIPS;
return context->drawing_state.unitMode;
}
static void STDMETHODCALLTYPE d2d_device_context_ID2D1DeviceContext_DrawGlyphRun(ID2D1DeviceContext *iface,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment