gdiplus: Return Ok from GdipSetMetafileDownLevelRasterizationLimit.

Vincent Povirk madewokherd at gmail.com
Mon Nov 2 15:40:57 CST 2015


-------------- next part --------------
From 48b81e2e618b9fd382c5099924452ec968206718 Mon Sep 17 00:00:00 2001
From: Vincent Povirk <vincent at codeweavers.com>
Date: Mon, 2 Nov 2015 15:16:29 -0600
Subject: [PATCH 1/2] gdiplus: Return Ok from
 GdipSetMetafileDownLevelRasterizationLimit.

Until we have a reason to use this value (application asks for it or we're
building the emf part of a dual emf+), there's no need to worry about this.

Signed-off-by: Vincent Povirk <vincent at codeweavers.com>
---
 dlls/gdiplus/metafile.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/dlls/gdiplus/metafile.c b/dlls/gdiplus/metafile.c
index 6d7048a..ad1b7fc 100644
--- a/dlls/gdiplus/metafile.c
+++ b/dlls/gdiplus/metafile.c
@@ -1141,14 +1141,9 @@ GpStatus WINGDIPAPI GdipCreateMetafileFromStream(IStream *stream,
 GpStatus WINGDIPAPI GdipSetMetafileDownLevelRasterizationLimit(GpMetafile *metafile,
     UINT limitDpi)
 {
-    static int calls;
-
     TRACE("(%p,%u)\n", metafile, limitDpi);
 
-    if(!(calls++))
-        FIXME("not implemented\n");
-
-    return NotImplemented;
+    return Ok;
 }
 
 GpStatus WINGDIPAPI GdipConvertToEmfPlus(const GpGraphics* ref,
-- 
2.1.4



More information about the wine-patches mailing list