Fix the plotting of tiled bitmaps. EraseRect() appears to have a bug where it won't
draw anything if ymin==ymax svn path=/trunk/netsurf/; revision=13074
This commit is contained in:
parent
a7f2cfa521
commit
35bc321993
|
@ -705,6 +705,9 @@ bool ami_bitmap_tile(int x, int y, int width, int height,
|
|||
|
||||
InstallLayerHook(glob->rp->Layer,bfh);
|
||||
|
||||
if(xm == xf) xf += 1;
|
||||
if(ym == yf) yf += 1;
|
||||
|
||||
EraseRect(glob->rp,xm,ym,xf,yf);
|
||||
|
||||
InstallLayerHook(glob->rp->Layer,LAYERS_NOBACKFILL);
|
||||
|
|
Loading…
Reference in New Issue