From 72cc8b9b238b391c4b804b1f1c487dfb73c03eef Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Tue, 7 Aug 2018 07:24:36 +0000 Subject: 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 --- src/Fl_Graphics_Driver.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Fl_Graphics_Driver.cxx b/src/Fl_Graphics_Driver.cxx index 4a3b39711..7545bc261 100644 --- a/src/Fl_Graphics_Driver.cxx +++ b/src/Fl_Graphics_Driver.cxx @@ -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(); } } -- cgit v1.2.3