Complete fix for "[fltk.general] scroll and overlay window" dated 7 march 2020.

This commit is contained in:
ManoloFLTK 2020-03-10 06:37:47 +01:00
parent 812052e458
commit 55132049c7

View File

@ -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);