From 7707ca7d090e8f8f77dd5d552cb5640c99ec26f7 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Mon, 1 Oct 2012 09:29:35 +0400 Subject: [PATCH] dwrite: Stub for CreateMonitorRenderingParams(). --- dlls/dwrite/main.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/dlls/dwrite/main.c b/dlls/dwrite/main.c index b4dfd3a55fc..866fa88054a 100644 --- a/dlls/dwrite/main.c +++ b/dlls/dwrite/main.c @@ -256,8 +256,14 @@ static HRESULT WINAPI dwritefactory_CreateRenderingParams(IDWriteFactory *iface, static HRESULT WINAPI dwritefactory_CreateMonitorRenderingParams(IDWriteFactory *iface, HMONITOR monitor, IDWriteRenderingParams **params) { - FIXME("(%p %p): stub\n", monitor, params); - return E_NOTIMPL; + static int fixme_once = 0; + + TRACE("(%p %p)\n", monitor, params); + + if (!fixme_once++) + FIXME("(%p): monitor setting ignored\n", monitor); + return IDWriteFactory_CreateCustomRenderingParams(iface, 0.0, 0.0, 0.0, DWRITE_PIXEL_GEOMETRY_FLAT, + DWRITE_RENDERING_MODE_DEFAULT, params); } static HRESULT WINAPI dwritefactory_CreateCustomRenderingParams(IDWriteFactory *iface, FLOAT gamma, FLOAT enhancedContrast,