[core] Merge RenderLayer::uploadBuckets into RenderSource::startRender

This commit is contained in:
John Firebaugh
2017-06-08 14:44:47 -07:00
parent 17db460345
commit f5d3b850bf
13 changed files with 41 additions and 35 deletions

View File

@@ -55,6 +55,12 @@ void RasterTile::onError(std::exception_ptr err) {
observer->onTileError(*this, err);
}
void RasterTile::upload(gl::Context& context) {
if (bucket) {
bucket->upload(context);
}
}
Bucket* RasterTile::getBucket(const style::Layer::Impl&) const {
return bucket.get();
}