From df8b2e34a8d224c67bc261d007e502c577d94330 Mon Sep 17 00:00:00 2001 From: Andrew Kitchen Date: Wed, 22 Nov 2017 17:07:53 -0800 Subject: [darwin, macos, ios] Renames CGImage creation function to imply +1 retain count --- platform/darwin/src/image.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/darwin/src/image.mm') diff --git a/platform/darwin/src/image.mm b/platform/darwin/src/image.mm index 57b680fbdb..122682883e 100644 --- a/platform/darwin/src/image.mm +++ b/platform/darwin/src/image.mm @@ -23,7 +23,7 @@ using CGDataProviderHandle = CFHandle; using CGContextHandle = CFHandle; -CGImageRef CGImageFromMGLPremultipliedImage(mbgl::PremultipliedImage&& src) { +CGImageRef CGImageCreateWithMGLPremultipliedImage(mbgl::PremultipliedImage&& src) { // We're converting the PremultipliedImage's backing store to a CGDataProvider, and are taking // over ownership of the memory. CGDataProviderHandle provider(CGDataProviderCreateWithData( -- cgit v1.2.1