diff options
author | Andrew Kitchen <akitchen@gmail.com> | 2017-11-27 16:47:58 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-27 16:47:58 -0800 |
commit | a2817ff5ed301f0da5817279ca7184b0c22bdf21 (patch) | |
tree | c532d212c8e020ac2215a26239aa51264946f9c1 /platform/darwin/mbgl/util/image+MGLAdditions.hpp | |
parent | 5da5ba7706eb28b359b5d781bd2c769e336ca5ca (diff) | |
download | qtlocation-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.hpp | 2 |
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. |