[core] use abstract Context interface where possible

This commit is contained in:
Konstantin Käfer
2019-03-06 18:40:07 +01:00
parent a7f151ab48
commit 9b5bbfcbdd
31 changed files with 43 additions and 48 deletions

View File

@@ -173,7 +173,7 @@ const optional<ImagePosition> GeometryTile::getPattern(const std::string& patter
return {};
}
void GeometryTile::upload(gl::Context& context) {
void GeometryTile::upload(gfx::Context& context) {
auto uploadFn = [&] (Bucket& bucket) {
if (bucket.needsUpload()) {
bucket.upload(context);