mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-06-03 20:58:18 +02:00
quartz: remove unused os version info
It was previously used to activate a workaround for text transformation whenrunning on some os versions. Now the workaround is not needed anymore.
This commit is contained in:
parent
aa7e9c43b6
commit
bd4c14b94e
1 changed files with 0 additions and 7 deletions
|
|
@ -124,8 +124,6 @@ static bool (*CGContextGetAllowsFontSmoothingPtr) (CGContextRef) = NULL;
|
|||
static CGPathRef (*CGContextCopyPathPtr) (CGContextRef) = NULL;
|
||||
static void (*CGContextReplacePathWithClipPathPtr) (CGContextRef) = NULL;
|
||||
|
||||
static SInt32 _cairo_quartz_osx_version = 0x0;
|
||||
|
||||
static cairo_bool_t _cairo_quartz_symbol_lookup_done = FALSE;
|
||||
|
||||
/*
|
||||
|
|
@ -160,11 +158,6 @@ static void quartz_ensure_symbols(void)
|
|||
CGContextGetAllowsFontSmoothingPtr = dlsym(RTLD_DEFAULT, "CGContextGetAllowsFontSmoothing");
|
||||
CGContextSetAllowsFontSmoothingPtr = dlsym(RTLD_DEFAULT, "CGContextSetAllowsFontSmoothing");
|
||||
|
||||
if (Gestalt(gestaltSystemVersion, &_cairo_quartz_osx_version) != noErr) {
|
||||
// assume 10.4
|
||||
_cairo_quartz_osx_version = 0x1040;
|
||||
}
|
||||
|
||||
_cairo_quartz_symbol_lookup_done = TRUE;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue