From 17f6b2a132d19d0b2b4fab88cf7120148e0b438d Mon Sep 17 00:00:00 2001 From: "Justin R. Miller" Date: Wed, 31 May 2017 12:04:36 -0700 Subject: fix pointer --- platform/darwin/src/MGLStyle.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/darwin/src/MGLStyle.mm b/platform/darwin/src/MGLStyle.mm index a2a7100025..09a45c9c42 100644 --- a/platform/darwin/src/MGLStyle.mm +++ b/platform/darwin/src/MGLStyle.mm @@ -179,7 +179,7 @@ static NSURL *MGLStyleURL_emerald; } else if (auto rasterSource = rawSource->as()) { return [[MGLRasterSource alloc] initWithRawSource:rasterSource]; } else if (auto imageSource = rawSource->as()) { - return [[MGLImageSource alloc] initWithRawSource:rasterSource]; + return [[MGLImageSource alloc] initWithRawSource:imageSource]; } else { return [[MGLSource alloc] initWithRawSource:rawSource]; } -- cgit v1.2.1