[PATCH 2/5] d2d1: Only print a FIXME/WARN for specific properties in d2d_factory_init().
Henri Verbeet
hverbeet at codeweavers.com
Mon Aug 17 05:55:15 CDT 2015
---
dlls/d2d1/factory.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/dlls/d2d1/factory.c b/dlls/d2d1/factory.c
index 0d15548..4cf9da5 100644
--- a/dlls/d2d1/factory.c
+++ b/dlls/d2d1/factory.c
@@ -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,
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->refcount = 1;
--
2.1.4
More information about the wine-patches
mailing list