diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2015-04-02 15:45:39 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2015-04-02 15:45:39 +0200 |
commit | 5ab6274f8b711d1b289ef31b8c2a3175e13fa4ce (patch) | |
tree | f7ce87e7f9d846a5c62c715b1dcf9b2d5cc05aa5 /src/mbgl/renderer/fill_bucket.cpp | |
parent | 4df0674b1e9cfd272cdf1d98ce9434e588f9c2f2 (diff) | |
download | qtlocation-mapboxgl-5ab6274f8b711d1b289ef31b8c2a3175e13fa4ce.tar.gz |
some cleanup
Diffstat (limited to 'src/mbgl/renderer/fill_bucket.cpp')
-rw-r--r-- | src/mbgl/renderer/fill_bucket.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mbgl/renderer/fill_bucket.cpp b/src/mbgl/renderer/fill_bucket.cpp index 958ea3d998..c3e04db067 100644 --- a/src/mbgl/renderer/fill_bucket.cpp +++ b/src/mbgl/renderer/fill_bucket.cpp @@ -102,11 +102,11 @@ void FillBucket::tessellate() { if (!lineGroups.size() || (lineGroups.back()->vertex_length + total_vertex_count > 65535)) { // Move to a new group because the old one can't hold the geometry. - lineGroups.emplace_back(util::make_unique<line_group_type>()); + lineGroups.emplace_back(util::make_unique<LineGroup>()); } assert(lineGroups.back()); - line_group_type& lineGroup = *lineGroups.back(); + LineGroup& lineGroup = *lineGroups.back(); uint32_t lineIndex = lineGroup.vertex_length; for (const auto& polygon : polygons) { @@ -149,13 +149,13 @@ void FillBucket::tessellate() { if (!triangleGroups.size() || (triangleGroups.back()->vertex_length + total_vertex_count > 65535)) { // Move to a new group because the old one can't hold the geometry. - triangleGroups.emplace_back(util::make_unique<triangle_group_type>()); + triangleGroups.emplace_back(util::make_unique<TriangleGroup>()); } // We're generating triangle fans, so we always start with the first // coordinate in this polygon. assert(triangleGroups.back()); - triangle_group_type& triangleGroup = *triangleGroups.back(); + TriangleGroup& triangleGroup = *triangleGroups.back(); uint32_t triangleIndex = triangleGroup.vertex_length; for (int i = 0; i < triangle_count; ++i) { |