MapLibre Native - Interactive vector tile maps for iOS, Android and other platforms.
BSD 2-Clause "Simplified" License
888
stars
273
forks
source link
Avoid using `preserveInvariance ` and `MTLLibraryType` on iOS < 14 #2546
Open
louwers opened 1 week ago
I got an iPhone 6S and I found out that
preserveInvariance
andMTLLibraryType
require iOS 14.https://developer.apple.com/documentation/metal/mtlcompileoptions/3564462-preserveinvariance
https://developer.apple.com/documentation/metal/mtllibrarytype
Used here
https://github.com/maplibre/maplibre-native/blob/a24d68436d6703580a5e3e99ed25ab49fb439e95/src/mbgl/mtl/context.cpp#L122-L128