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:
Vincent Povirk 2016-06-24 12:51:39 -05:00 committed by Alexandre Julliard
parent 39cba73ab5
commit 9df85c48aa
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}