mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
gdi32: Paint everything in ExtFloodFill when the DIB doesn't have a clip region.
This commit is contained in:
parent
9629df6afb
commit
21498d6c11
1 changed files with 2 additions and 2 deletions
|
@ -681,7 +681,7 @@ BOOL dibdrv_Ellipse( PHYSDEV dev, INT left, INT top, INT right, INT bottom )
|
|||
static inline BOOL is_interior( dib_info *dib, HRGN clip, int x, int y, DWORD pixel, UINT type)
|
||||
{
|
||||
/* the clip rgn stops the flooding */
|
||||
if (!PtInRegion( clip, x, y )) return FALSE;
|
||||
if (clip && !PtInRegion( clip, x, y )) return FALSE;
|
||||
|
||||
if (type == FLOODFILLBORDER)
|
||||
return dib->funcs->get_pixel( dib, x, y ) != pixel;
|
||||
|
@ -734,7 +734,7 @@ BOOL dibdrv_ExtFloodFill( PHYSDEV dev, INT x, INT y, COLORREF color, UINT type )
|
|||
RECT row;
|
||||
HRGN rgn;
|
||||
|
||||
TRACE( "(%p, %d, %d, %08x, %d\n", pdev, x, y, color, type );
|
||||
TRACE( "(%p, %d, %d, %08x, %d)\n", pdev, x, y, color, type );
|
||||
|
||||
if (!is_interior( &pdev->dib, pdev->clip, x, y, pixel, type )) return FALSE;
|
||||
|
||||
|
|
Loading…
Reference in a new issue