Revert "Always use image surface on macOS"

This reverts commit cb3f8170ad.
This commit is contained in:
Robin Gareus
2024-12-06 23:26:25 +01:00
parent 47beea4b1b
commit e0e6d5fe5f

View File

@@ -1074,10 +1074,6 @@ def configure(conf):
conf.env.append_value('LINKFLAGS_AUDIOUNITS', ['-framework', 'AudioToolbox', '-framework', 'AudioUnit'])
conf.env.append_value('LINKFLAGS_AUDIOUNITS', ['-framework', 'Cocoa'])
# use image surface for rendering
conf.env.append_value('CFLAGS', '-DUSE_CAIRO_IMAGE_SURFACE')
conf.env.append_value('CXXFLAGS', '-DUSE_CAIRO_IMAGE_SURFACE')
if (
# osx up to and including 10.6 (uname 10.X.X)
(re.search (r"^[1-9][0-9]\.", os.uname()[2]) is None or not re.search (r"^10\.", os.uname()[2]) is None)