pass shaping directly instead of looking it up

This commit is contained in:
Konstantin Käfer
2014-05-30 14:01:53 +02:00
parent 461a19dfa2
commit 31d9dbefea
3 changed files with 8 additions and 34 deletions

View File

@@ -36,9 +36,9 @@ public:
void addGlyphs(const PlacedGlyphs &glyphs, float placementZoom,
PlacementRange placementRange, float zoom);
void addFeature(const VectorTileFeature &feature,
void addFeature(const pbf &geometry,
const GlyphPositions &face,
const std::map<Value, Shaping> &shapings);
const Shaping &shaping);
void drawGlyphs(TextShader &shader);