Correct guard for adequate version of macOS SDK
This commit is contained in:
parent
71faa15432
commit
3c41e2d372
@ -3453,7 +3453,7 @@ Fl_Quartz_Copy_Surface_Driver::~Fl_Quartz_Copy_Surface_Driver()
|
|||||||
{
|
{
|
||||||
CGContextRestoreGState(gc);
|
CGContextRestoreGState(gc);
|
||||||
CGContextEndPage(gc);
|
CGContextEndPage(gc);
|
||||||
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_8
|
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5
|
||||||
if (fl_mac_os_version >= 100500) CGPDFContextClose(gc); // needs 10.5, necessary with macOS 10.15
|
if (fl_mac_os_version >= 100500) CGPDFContextClose(gc); // needs 10.5, necessary with macOS 10.15
|
||||||
#endif
|
#endif
|
||||||
CGContextRelease(gc);
|
CGContextRelease(gc);
|
||||||
|
Loading…
Reference in New Issue
Block a user