diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2020-03-10 06:37:47 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2020-03-10 06:37:47 +0100 |
| commit | 55132049c78694cae34d1d17ed20941be86cc965 (patch) | |
| tree | 011d416cd5bb0f059f9d20d160084614b6133ad1 | |
| parent | 812052e4589cbbf7bb8adbef646f5cf533bf7779 (diff) | |
Complete fix for "[fltk.general] scroll and overlay window" dated 7 march 2020.
| -rw-r--r-- | src/drivers/Quartz/Fl_Quartz_Image_Surface_Driver.cxx | 1 |
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); |
