Made iOS Benchmark app run on Xcode 16 (#3344)

This commit is contained in:
Alex Cristici
2025-03-28 20:31:29 +02:00
committed by GitHub
parent 2996d0a95b
commit 3fc93a0b02
4 changed files with 3 additions and 2 deletions

View File

@@ -81,7 +81,6 @@
"size" : "40x40"
},
{
"filename" : "Icon-76.png",
"idiom" : "ipad",
"scale" : "1x",
"size" : "76x76"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

View File

@@ -20,6 +20,8 @@
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>MBGL</string>
<key>CFBundleVersion</key>

View File

@@ -205,7 +205,7 @@ namespace mbgl {
8,
4 * image.size.width,
colorSpace,
kCGImageAlphaPremultipliedLast | kCGBitmapByteOrderDefault
kCGImageAlphaPremultipliedLast
);
CFRelease(colorSpace);
CGImageRef cgImage = CGBitmapContextCreateImage(bitmapContext);