[07/10] gdiplus: Return success from the GdipSaveGraphics and GdipRestoreGraphics stubs.
Hans Leidekker
hans at codeweavers.com
Fri Nov 21 09:50:49 CST 2008
diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c
index aba2aca..7c1ff9b 100644
--- a/dlls/gdiplus/graphics.c
+++ b/dlls/gdiplus/graphics.c
@@ -2788,7 +2788,7 @@ GpStatus WINGDIPAPI GdipRestoreGraphics(GpGraphics *graphics, GraphicsState stat
if(!(calls++))
FIXME("graphics state not implemented\n");
- return NotImplemented;
+ return Ok;
}
GpStatus WINGDIPAPI GdipRotateWorldTransform(GpGraphics *graphics, REAL angle,
@@ -2815,7 +2815,8 @@ GpStatus WINGDIPAPI GdipSaveGraphics(GpGraphics *graphics, GraphicsState *state)
if(!(calls++))
FIXME("graphics state not implemented\n");
- return NotImplemented;
+ *state = 0xdeadbeef;
+ return Ok;
}
GpStatus WINGDIPAPI GdipScaleWorldTransform(GpGraphics *graphics, REAL sx,
More information about the wine-patches
mailing list