Files prefix changed from MGL to MLN (#919)
This commit is contained in:
@@ -34,7 +34,7 @@ void GLFWRendererFrontend::render() {
|
||||
mbgl::gfx::BackendScope guard { glfwView.getRendererBackend(), mbgl::gfx::BackendScope::ScopeType::Implicit };
|
||||
|
||||
// onStyleImageMissing might be called during a render. The user implemented method
|
||||
// could trigger a call to MGLRenderFrontend#update which overwrites `updateParameters`.
|
||||
// could trigger a call to MLNRenderFrontend#update which overwrites `updateParameters`.
|
||||
// Copy the shared pointer here so that the parameters aren't destroyed while `render(...)` is
|
||||
// still using them.
|
||||
auto updateParameters_ = updateParameters;
|
||||
|
||||
@@ -100,7 +100,7 @@ int main(int argc, char *argv[]) {
|
||||
}
|
||||
|
||||
// Set access token if present
|
||||
const char* apikeyEnv = getenv("MGL_API_KEY");
|
||||
const char* apikeyEnv = getenv("MLN_API_KEY");
|
||||
const std::string apikey = apikeyValue ? args::get(apikeyValue) : (apikeyEnv ? apikeyEnv : std::string());
|
||||
|
||||
auto mapTilerConfiguration = mbgl::TileServerOptions::MapTilerConfiguration();
|
||||
|
||||
Reference in New Issue
Block a user