diff options
author | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2020-03-10 15:48:11 +0200 |
---|---|---|
committer | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2020-03-11 16:51:45 +0200 |
commit | b83de65813fa8a7b6e79954a1ed19bd51b6ce1e9 (patch) | |
tree | 00bc1370d48ad15d66f240fe1b96300d738c17a4 /src/mbgl/text | |
parent | 6c26e141a89a1718f6f6ddf53f4a738e2558c803 (diff) | |
download | qtlocation-mapboxgl-b83de65813fa8a7b6e79954a1ed19bd51b6ce1e9.tar.gz |
[core] Adjust mapbox-gl-native for the updated debug shader semantics
Diffstat (limited to 'src/mbgl/text')
-rw-r--r-- | src/mbgl/text/collision_index.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/text/collision_index.cpp b/src/mbgl/text/collision_index.cpp index ef0358dd6b..e749db3ffa 100644 --- a/src/mbgl/text/collision_index.cpp +++ b/src/mbgl/text/collision_index.cpp @@ -284,7 +284,7 @@ void CollisionIndex::insertFeature(const CollisionFeature& feature, const std::v ); } } - } else { + } else if (!projectedBoxes.empty()) { assert(projectedBoxes.size() == 1); auto& box = projectedBoxes[0]; assert(box.isBox()); |