summaryrefslogtreecommitdiff
path: root/platform/darwin/mbgl/util/image+MGLAdditions.hpp
diff options
context:
space:
mode:
authorAndrew Kitchen <andrew.kitchen@mapbox.com>2017-11-22 17:07:53 -0800
committerAndrew Kitchen <andrew.kitchen@mapbox.com>2017-11-27 13:24:31 -0800
commitdf8b2e34a8d224c67bc261d007e502c577d94330 (patch)
tree78fd35910fca5ded0ebedcc11e224931792498c7 /platform/darwin/mbgl/util/image+MGLAdditions.hpp
parentd8bcc943c50b1030f8b090d28b023ff7c40afd9c (diff)
downloadqtlocation-mapboxgl-upstream/akitchen-8570.tar.gz
[darwin, macos, ios] Renames CGImage creation function to imply +1 retain countupstream/akitchen-8570
Diffstat (limited to 'platform/darwin/mbgl/util/image+MGLAdditions.hpp')
-rw-r--r--platform/darwin/mbgl/util/image+MGLAdditions.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/mbgl/util/image+MGLAdditions.hpp b/platform/darwin/mbgl/util/image+MGLAdditions.hpp
index c738b4523d..c5343af4de 100644
--- a/platform/darwin/mbgl/util/image+MGLAdditions.hpp
+++ b/platform/darwin/mbgl/util/image+MGLAdditions.hpp
@@ -5,7 +5,7 @@
#include <CoreGraphics/CGImage.h>
// Creates a CGImage from a PremultipliedImage, taking over the memory ownership.
-CGImageRef CGImageFromMGLPremultipliedImage(mbgl::PremultipliedImage&&);
+CGImageRef CGImageCreateWithMGLPremultipliedImage(mbgl::PremultipliedImage&&);
// Creates a PremultipliedImage by copying the pixels of the CGImage.
// Does not alter the retain count of the supplied CGImage.