add text rendering code
This commit is contained in:
@@ -15,8 +15,8 @@ Map::Map(Settings& settings)
|
||||
transform(),
|
||||
texturepool(),
|
||||
style(),
|
||||
painter(transform, settings, style),
|
||||
glyphAtlas(1024, 1024),
|
||||
painter(transform, settings, style, glyphAtlas),
|
||||
min_zoom(0),
|
||||
max_zoom((use_raster ? kTileRasterMaxZoom : kTileVectorMaxZoom)) {
|
||||
}
|
||||
@@ -443,8 +443,6 @@ bool Map::render() {
|
||||
transform.updateAnimations();
|
||||
}
|
||||
|
||||
glyphAtlas.bind();
|
||||
|
||||
if (*style.sprite->raster && !style.sprite->raster->textured) {
|
||||
style.sprite->raster->setTexturepool(&texturepool);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user