Commit 3e0af5f1 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

d2d1: Only print a FIXME/WARN for specific properties in d2d_d3d_render_target_init().

parent 5b073263
...@@ -1668,7 +1668,12 @@ HRESULT d2d_d3d_render_target_init(struct d2d_d3d_render_target *render_target, ...@@ -1668,7 +1668,12 @@ HRESULT d2d_d3d_render_target_init(struct d2d_d3d_render_target *render_target,
0.0f, 0.0f, 0.0f, 0.0f,
}; };
FIXME("Ignoring render target properties.\n"); if (desc->type != D2D1_RENDER_TARGET_TYPE_DEFAULT && desc->type != D2D1_RENDER_TARGET_TYPE_HARDWARE)
WARN("Ignoring render target type %#x.\n", desc->type);
if (desc->usage != D2D1_RENDER_TARGET_USAGE_NONE)
FIXME("Ignoring render target usage %#x.\n", desc->usage);
if (desc->minLevel != D2D1_FEATURE_LEVEL_DEFAULT)
WARN("Ignoring feature level %#x.\n", desc->minLevel);
render_target->ID2D1RenderTarget_iface.lpVtbl = &d2d_d3d_render_target_vtbl; render_target->ID2D1RenderTarget_iface.lpVtbl = &d2d_d3d_render_target_vtbl;
render_target->IDWriteTextRenderer_iface.lpVtbl = &d2d_text_renderer_vtbl; render_target->IDWriteTextRenderer_iface.lpVtbl = &d2d_text_renderer_vtbl;
......
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