Module: wine Branch: master Commit: 9df85c48aa33dea81c7c16d82b65abdbc21ee1ee URL: http://source.winehq.org/git/wine.git/?a=commit;h=9df85c48aa33dea81c7c16d82b...
Author: Vincent Povirk vincent@codeweavers.com Date: Fri Jun 24 12:51:39 2016 -0500
gdiplus: Account for world transform in GdipGraphicsClear.
Signed-off-by: Vincent Povirk vincent@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
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; }