Use optional values in place of zero placeholders (#2089)

This commit is contained in:
Tim Sylvester
2024-02-06 07:13:13 -08:00
committed by GitHub
parent 14bfb5df72
commit f9c6c9c2be
5 changed files with 19 additions and 10 deletions

View File

@@ -599,7 +599,7 @@ void RenderFillLayer::update(gfx::ShaderRegistry& shaders,
if (const auto& atlases = tile.getAtlasTextures(); atlases && atlases->icon) {
atlasTweaker = std::make_shared<gfx::DrawableAtlasesTweaker>(
atlases,
0,
std::nullopt,
idIconTextureName,
/*isText*/ false,
/*sdfIcons*/ true, // to force linear filter