Skip to content

MetalKit macOS xcode9 beta3

Vincent Dondain edited this page Jul 10, 2017 · 1 revision

#MetalKit.framework

diff -ruN /Applications/Xcode9-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKTextureLoader.h /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKTextureLoader.h
--- /Applications/Xcode9-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKTextureLoader.h	2017-06-10 20:47:14.000000000 -0400
+++ /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKTextureLoader.h	2017-06-24 01:21:35.000000000 -0400
@@ -295,7 +295,7 @@
 */
 - (void)newTexturesWithNames:(nonnull NSArray<NSString *> *)names
                  scaleFactor:(CGFloat)scaleFactor
-                displayGamut:(nullable CGColorSpaceRef)displayGamut
+                displayGamut:(NSDisplayGamut)displayGamut
                       bundle:(nullable NSBundle *)bundle
                      options:(nullable NSDictionary <MTKTextureLoaderOption, id> *)options
            completionHandler:(nonnull MTKTextureLoaderArrayCallback)completionHandler NS_AVAILABLE_MAC(10_12);
Clone this wiki locally