Fix for issue #426 - cont'd.

This commit is contained in:
ManoloFLTK 2022-04-10 15:09:25 +02:00
parent 9e147fe8c0
commit 0d59e32b84

View File

@ -3500,6 +3500,10 @@ void Fl_Cocoa_Window_Driver::make_current()
// this is the context with origin at top left of (sub)window // this is the context with origin at top left of (sub)window
CGContextSaveGState(gc); CGContextSaveGState(gc);
fl_clip_region( 0 ); fl_clip_region( 0 );
#ifdef FLTK_HAVE_CAIROEXT
// update the cairo_t context
if (Fl::cairo_autolink_context()) Fl::cairo_make_current(pWindow);
#endif
} }
// Give the Quartz context back to the system // Give the Quartz context back to the system