Skip to content

Commit

Permalink
Always use blending for basic fill layers (maplibre#2296)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwilsnd authored Apr 19, 2024
1 parent a1bb983 commit aceed41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mbgl/renderer/layers/render_fill_layer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ void RenderFillLayer::update(gfx::ShaderRegistry& shaders,

commonInit(*builder);
builder->setDepthType(opaque ? gfx::DepthMaskType::ReadWrite : gfx::DepthMaskType::ReadOnly);
builder->setColorMode(opaque ? gfx::ColorMode::unblended() : gfx::ColorMode::alphaBlended());
builder->setColorMode(gfx::ColorMode::alphaBlended());
builder->setSubLayerIndex(1);
builder->setRenderPass(renderPass);
fillBuilder = std::move(builder);
Expand Down

0 comments on commit aceed41

Please sign in to comment.