Commit d29af2e4 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

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

parent 3e0af5f1
...@@ -310,7 +310,10 @@ static const struct ID2D1FactoryVtbl d2d_factory_vtbl = ...@@ -310,7 +310,10 @@ static const struct ID2D1FactoryVtbl d2d_factory_vtbl =
static void d2d_factory_init(struct d2d_factory *factory, D2D1_FACTORY_TYPE factory_type, static void d2d_factory_init(struct d2d_factory *factory, D2D1_FACTORY_TYPE factory_type,
const D2D1_FACTORY_OPTIONS *factory_options) const D2D1_FACTORY_OPTIONS *factory_options)
{ {
FIXME("Ignoring factory type and options.\n"); if (factory_type != D2D1_FACTORY_TYPE_SINGLE_THREADED)
FIXME("Ignoring factory type %#x.\n", factory_type);
if (factory_options && factory_options->debugLevel != D2D1_DEBUG_LEVEL_NONE)
WARN("Ignoring debug level %#x.\n", factory_options->debugLevel);
factory->ID2D1Factory_iface.lpVtbl = &d2d_factory_vtbl; factory->ID2D1Factory_iface.lpVtbl = &d2d_factory_vtbl;
factory->refcount = 1; factory->refcount = 1;
......
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