forked from MTSR/mapserver
alpha channel temp fix
This commit is contained in:
parent
f1c698c7fa
commit
d20d99d19f
@ -142,6 +142,9 @@ func (r *MapBlockRenderer) Render(pos1, pos2 *types.MapBlockCoords) (*image.NRGB
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// clamp alpha channel to max
|
||||||
|
c.A = 255
|
||||||
|
|
||||||
if r.enableShadow {
|
if r.enableShadow {
|
||||||
var left, leftAbove, top, topAbove string
|
var left, leftAbove, top, topAbove string
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user