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