From eaa6aa47b681b4dc2dd6320de99002e91b3104e3 Mon Sep 17 00:00:00 2001 From: Serhii Londar Date: Thu, 14 Apr 2022 13:51:52 +0200 Subject: [PATCH] Update MaplySphericalQuadEarthWithTexGroup.mm Fix build error on macOS Monterey 12.3.1 and Xcode 13.3.1 --- .../src/MaplySphericalQuadEarthWithTexGroup.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;