Minor optimizations (#2091)
This commit is contained in:
@@ -256,8 +256,6 @@ void RenderRasterLayer::update(gfx::ShaderRegistry& shaders,
|
||||
const std::shared_ptr<UpdateParameters>&,
|
||||
[[maybe_unused]] const RenderTree& renderTree,
|
||||
[[maybe_unused]] UniqueChangeRequestVec& changes) {
|
||||
std::unique_lock<std::mutex> guard(mutex);
|
||||
|
||||
if ((!renderTiles || renderTiles->empty()) && !imageData) {
|
||||
if (layerGroup) {
|
||||
stats.drawablesRemoved += layerGroup->clearDrawables();
|
||||
|
||||
Reference in New Issue
Block a user