Complete previous commit at r.12383 that was partial.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12384 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy 2017-08-15 14:44:35 +00:00
parent 6bcadf536f
commit 108a5e8de2

View File

@ -74,6 +74,7 @@ Fl_Quartz_Image_Surface_Driver::~Fl_Quartz_Image_Surface_Driver() {
}
void Fl_Quartz_Image_Surface_Driver::set_current() {
Fl_Surface_Device::set_current();
pre_window = fl_window;
driver()->gc(offscreen);
fl_window = 0;