mirror of
https://github.com/fltk/fltk.git
synced 2026-05-19 03:02:44 +08:00
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:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user