textured fills

fixes #15
This commit is contained in:
Konstantin Käfer
2014-02-03 22:51:21 +01:00
parent e478ae2a2d
commit 9ab9eeec13
24 changed files with 187 additions and 69 deletions

View File

@@ -21,8 +21,9 @@ Map::Map(Settings& settings)
min_zoom(0),
max_zoom(14) {
sprite = std::make_shared<Sprite>();
sprite->load("http://localhost:3333/gl/debug/img/sprite");
// TODO: Extract that information from the stylesheet instead of hard coding
style.sprite = std::make_shared<Sprite>();
style.sprite->load("http://localhost:3333/gl/debug/img/sprite");
}
Map::~Map() {