committed by
John Firebaugh
parent
60e9712916
commit
af9396a678
@@ -69,7 +69,7 @@ void Painter::renderSDF(SymbolBucket &bucket,
|
||||
|
||||
// We're drawing in the translucent pass which is bottom-to-top, so we need
|
||||
// to draw the halo first.
|
||||
if (styleProperties.halo_color[3] > 0.0f) {
|
||||
if (styleProperties.halo_color[3] > 0.0f && styleProperties.halo_width > 0.0f) {
|
||||
sdfShader.u_gamma = styleProperties.halo_blur * blurOffset / fontScale / sdfPx + gamma;
|
||||
|
||||
if (styleProperties.opacity < 1.0f) {
|
||||
|
||||
Reference in New Issue
Block a user