diff --git a/ios/library/WhirlyGlobe-MaplyComponent/src/MaplySphericalQuadEarthWithTexGroup.mm b/ios/library/WhirlyGlobe-MaplyComponent/src/MaplySphericalQuadEarthWithTexGroup.mm index aa0f592b76..528840207d 100644 --- a/ios/library/WhirlyGlobe-MaplyComponent/src/MaplySphericalQuadEarthWithTexGroup.mm +++ b/ios/library/WhirlyGlobe-MaplyComponent/src/MaplySphericalQuadEarthWithTexGroup.mm @@ -52,7 +52,7 @@ - (bool)startLayer:(WhirlyKitLayerThread *)layerThread scene:(WhirlyKit::Scene * earthLayer = [[WhirlyKitSphericalEarthQuadLayer alloc] initWithInfo:texGroupName renderer:renderer]; if (!earthLayer) - return nil; + return false; [layerThread addLayer:earthLayer]; return true;