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:
parent
205570d134
commit
72cc8b9b23
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user