diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2019-02-28 17:41:38 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2019-03-01 09:33:37 +0100 |
commit | fd37d9065029c732d97e6fa59bc0a0d27ecd3c72 (patch) | |
tree | 32111ffa986b6338f2aa4311b2974c90ec09baff /src/mbgl/renderer/buckets/symbol_bucket.cpp | |
parent | c53cbe52461e3c1f6f4e1bb6383a6a2e3e5a2cae (diff) | |
download | qtlocation-mapboxgl-fd37d9065029c732d97e6fa59bc0a0d27ecd3c72.tar.gz |
[core] move draw mode and primitives to gfx namespace
Diffstat (limited to 'src/mbgl/renderer/buckets/symbol_bucket.cpp')
-rw-r--r-- | src/mbgl/renderer/buckets/symbol_bucket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/renderer/buckets/symbol_bucket.cpp b/src/mbgl/renderer/buckets/symbol_bucket.cpp index 969597f5bd..af9ce91b35 100644 --- a/src/mbgl/renderer/buckets/symbol_bucket.cpp +++ b/src/mbgl/renderer/buckets/symbol_bucket.cpp @@ -152,7 +152,7 @@ void SymbolBucket::updateOpacity() { uploaded = false; } -void addPlacedSymbol(gl::IndexVector<gl::Triangles>& triangles, const PlacedSymbol& placedSymbol) { +void addPlacedSymbol(gl::IndexVector<gfx::Triangles>& triangles, const PlacedSymbol& placedSymbol) { auto endIndex = placedSymbol.vertexStartIndex + placedSymbol.glyphOffsets.size() * 4; for (auto vertexIndex = placedSymbol.vertexStartIndex; vertexIndex < endIndex; vertexIndex += 4) { triangles.emplace_back(vertexIndex + 0, vertexIndex + 1, vertexIndex + 2); |