gdi32: Use the original StretchBlt rectangle if a DC doesn't have a visible region.
This commit is contained in:
parent
4b4dd300f6
commit
a64a549b4c
|
@ -89,8 +89,10 @@ static void get_vis_rectangles( DC *dc_dst, struct bitblt_coords *dst,
|
|||
if (rect.left > rect.right) { swap_ints( &rect.left, &rect.right ); rect.left++; rect.right++; }
|
||||
if (rect.top > rect.bottom) { swap_ints( &rect.top, &rect.bottom ); rect.top++; rect.bottom++; }
|
||||
|
||||
get_clip_box( dc_dst, &clip );
|
||||
intersect_rect( &dst->visrect, &rect, &clip );
|
||||
if (get_clip_box( dc_dst, &clip ))
|
||||
intersect_rect( &dst->visrect, &rect, &clip );
|
||||
else
|
||||
dst->visrect = rect;
|
||||
|
||||
/* get the source visible rectangle */
|
||||
|
||||
|
|
Loading…
Reference in New Issue