summaryrefslogtreecommitdiff
path: root/platform/darwin/mbgl/util/image+MGLAdditions.hpp
diff options
context:
space:
mode:
authorAndrew Kitchen <akitchen@gmail.com>2017-11-27 16:47:58 -0800
committerGitHub <noreply@github.com>2017-11-27 16:47:58 -0800
commita2817ff5ed301f0da5817279ca7184b0c22bdf21 (patch)
treec532d212c8e020ac2215a26239aa51264946f9c1 /platform/darwin/mbgl/util/image+MGLAdditions.hpp
parent5da5ba7706eb28b359b5d781bd2c769e336ca5ca (diff)
downloadqtlocation-mapboxgl-a2817ff5ed301f0da5817279ca7184b0c22bdf21.tar.gz
[darwin, macos, ios] Renames CGImage creation function to imply +1 retain count (#10570)
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.