[core] Remove StyleLayer::isBackground()

This commit is contained in:
John Firebaugh
2015-10-19 17:12:07 -07:00
parent bb4bf9a779
commit 1f4144c65a
3 changed files with 1 additions and 8 deletions

View File

@@ -79,7 +79,7 @@ void TileWorker::parseLayer(const StyleLayer& layer, const GeometryTile& geometr
return;
// Background is a special case.
if (layer.isBackground())
if (layer.type == StyleLayerType::Background)
return;
if (!layer.bucket) {