[build] Adding a build flag to build without GL if needed (#16120)
* [build] Adding a build flag to build without GL if needed * [build] Moving custom layer to mbgl/gl
This commit is contained in:
20
src/mbgl/gl/custom_layer_impl.cpp
Normal file
20
src/mbgl/gl/custom_layer_impl.cpp
Normal file
@@ -0,0 +1,20 @@
|
||||
#include <mbgl/gl/custom_layer_impl.hpp>
|
||||
|
||||
namespace mbgl {
|
||||
namespace style {
|
||||
|
||||
CustomLayer::Impl::Impl(const std::string& id_,
|
||||
std::unique_ptr<CustomLayerHost> host_)
|
||||
: Layer::Impl(id_, std::string()) {
|
||||
host = std::move(host_);
|
||||
}
|
||||
|
||||
bool CustomLayer::Impl::hasLayoutDifference(const Layer::Impl&) const {
|
||||
return false;
|
||||
}
|
||||
|
||||
void CustomLayer::Impl::stringifyLayout(rapidjson::Writer<rapidjson::StringBuffer>&) const {
|
||||
}
|
||||
|
||||
} // namespace style
|
||||
} // namespace mbgl
|
||||
Reference in New Issue
Block a user