Minor optimizations (#2091)

This commit is contained in:
Tim Sylvester
2024-02-13 07:40:25 -08:00
committed by GitHub
parent 0ec638f226
commit 8e5fc4c198
12 changed files with 9 additions and 21 deletions

View File

@@ -400,8 +400,6 @@ void RenderFillLayer::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()) {
removeAllDrawables();
return;