summaryrefslogtreecommitdiff
path: root/src/mbgl/map/backend.cpp
blob: 8a06fe2d91a994f3b69f53a576906b571f273a2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include <mbgl/map/backend.hpp>
#include <mbgl/gl/context.hpp>

#include <cassert>

namespace mbgl {

Backend::Backend() : context(std::make_unique<gl::Context>()) {
}

gl::Context& Backend::getContext() {
    return *context;
}

Backend::~Backend() = default;

void Backend::notifyMapChange(MapChange) {
    // no-op
}


} // namespace mbgl