Drawable Renderer (#1570), warnings
This commit is contained in:
committed by
Bart Louwers
parent
3bc013d3ac
commit
af43611d2b
@@ -322,9 +322,9 @@ void RenderBackgroundLayer::update(const int32_t layerIndex,
|
||||
|
||||
builder->flush();
|
||||
|
||||
auto drawables = builder->clearDrawables();
|
||||
if (!drawables.empty()) {
|
||||
auto& drawable = drawables[0];
|
||||
auto tileDrawables = builder->clearDrawables();
|
||||
if (!tileDrawables.empty()) {
|
||||
auto& drawable = tileDrawables[0];
|
||||
drawable->setTileID(tileID);
|
||||
result.first->second = drawable;
|
||||
changes.emplace_back(std::make_unique<AddDrawableRequest>(std::move(drawable)));
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#pragma once
|
||||
#include <mbgl/gfx/drawable.hpp>
|
||||
#include <mbgl/gfx/drawable.hpp>
|
||||
#include <mbgl/layout/layout.hpp>
|
||||
#include <mbgl/renderer/change_request.hpp>
|
||||
#include <mbgl/renderer/render_pass.hpp>
|
||||
|
||||
Reference in New Issue
Block a user