Commit 9df85c48 authored by Vincent Povirk's avatar Vincent Povirk Committed by Alexandre Julliard

gdiplus: Account for world transform in GdipGraphicsClear.

parent 39cba73a
...@@ -4382,7 +4382,7 @@ GpStatus WINGDIPAPI GdipGraphicsClear(GpGraphics *graphics, ARGB color) ...@@ -4382,7 +4382,7 @@ GpStatus WINGDIPAPI GdipGraphicsClear(GpGraphics *graphics, ARGB color)
if((stat = GdipCreateSolidFill(color, &brush)) != Ok) if((stat = GdipCreateSolidFill(color, &brush)) != Ok)
return stat; return stat;
if((stat = get_graphics_bounds(graphics, &wnd_rect)) != Ok){ if((stat = GdipGetVisibleClipBounds(graphics, &wnd_rect)) != Ok){
GdipDeleteBrush((GpBrush*)brush); GdipDeleteBrush((GpBrush*)brush);
return stat; return stat;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment