23 lines
342 B
C++
23 lines
342 B
C++
#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
|