From 3ec51f0b80652d49cade9c5bb46e20c88a88c05c Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Wed, 18 Nov 2020 15:17:12 +0100 Subject: =?UTF-8?q?Remove=20unnecessary=20function=20call=20when=20macOS?= =?UTF-8?q?=20=E2=89=A5=2010.6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Fl_cocoa.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index 8f9f172e8..6fe035cfc 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -4386,7 +4386,7 @@ void Fl_Cocoa_Window_Driver::draw_titlebar_to_context(CGContextRef gc, int w, in } if (img) { CGContextSaveGState(gc); - clip_to_rounded_corners(gc, w, h); + if (fl_mac_os_version < 100600) clip_to_rounded_corners(gc, w, h); CGContextDrawImage(gc, CGRectMake(0, 0, w, h), img); CGImageRelease(img); CGContextRestoreGState(gc); -- cgit v1.2.3