From: Vincent Povirk Subject: [1/5] gdiplus: Account for world transform in GdipGraphicsClear. Message-Id: <1466790703-1608-1-git-send-email-madewokherd@gmail.com> Date: Fri, 24 Jun 2016 12:51:39 -0500 From: Vincent Povirk Signed-off-by: Vincent Povirk --- dlls/gdiplus/graphics.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c index c74f2eb..58d59fe 100644 --- a/dlls/gdiplus/graphics.c +++ b/dlls/gdiplus/graphics.c @@ -4382,7 +4382,7 @@ GpStatus WINGDIPAPI GdipGraphicsClear(GpGraphics *graphics, ARGB color) if((stat = GdipCreateSolidFill(color, &brush)) != Ok) return stat; - if((stat = get_graphics_bounds(graphics, &wnd_rect)) != Ok){ + if((stat = GdipGetVisibleClipBounds(graphics, &wnd_rect)) != Ok){ GdipDeleteBrush((GpBrush*)brush); return stat; } -- 2.7.4