gdiplus: Account for world transform in GdipGraphicsClear.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
39cba73ab5
commit
9df85c48aa
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue