Fix for STR #3483: support for tiled images when the display is rescaled.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13009 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy 2018-08-07 07:24:36 +00:00
parent 205570d134
commit 72cc8b9b23

View File

@ -207,8 +207,8 @@ void Fl_Graphics_Driver::cache_size(Fl_Image *img, int &width, int &height)
width = width * scale();
height = height * scale();
} else {
width = (width+1) * scale() - 1;
height = (height+1) * scale() - 1;
width = (width+1) * scale();
height = (height+1) * scale();
}
}