summaryrefslogtreecommitdiff
path: root/src/drivers/Quartz/Fl_Quartz_Image_Surface_Driver.cxx
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2020-03-10 06:37:47 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2020-03-10 06:37:47 +0100
commit55132049c78694cae34d1d17ed20941be86cc965 (patch)
tree011d416cd5bb0f059f9d20d160084614b6133ad1 /src/drivers/Quartz/Fl_Quartz_Image_Surface_Driver.cxx
parent812052e4589cbbf7bb8adbef646f5cf533bf7779 (diff)
Complete fix for "[fltk.general] scroll and overlay window" dated 7 march 2020.
Diffstat (limited to 'src/drivers/Quartz/Fl_Quartz_Image_Surface_Driver.cxx')
-rw-r--r--src/drivers/Quartz/Fl_Quartz_Image_Surface_Driver.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/Quartz/Fl_Quartz_Image_Surface_Driver.cxx b/src/drivers/Quartz/Fl_Quartz_Image_Surface_Driver.cxx
index 45bef28a4..c0ac388d0 100644
--- a/src/drivers/Quartz/Fl_Quartz_Image_Surface_Driver.cxx
+++ b/src/drivers/Quartz/Fl_Quartz_Image_Surface_Driver.cxx
@@ -73,6 +73,7 @@ Fl_Quartz_Image_Surface_Driver::Fl_Quartz_Image_Surface_Driver(int w, int h, int
CGContextTranslateCTM(offscreen, 0.5*s, -0.5*s); // as when drawing to a window
if (high_res) {
CGContextScaleCTM(offscreen, s, s);
+ driver()->scale(s);
}
CGContextSetShouldAntialias(offscreen, false);
CGContextTranslateCTM(offscreen, 0, height);