Fixed colorscale mode

This commit is contained in:
Zyko 2024-08-05 20:33:53 +02:00
parent 2eebe55b90
commit b20692f523

View File

@ -125,8 +125,9 @@ func Draw(dst *ebiten.Image, text string, face Face, options *DrawOptions) {
dl.Add(dc)
}
dl.Flush(dst, &drawOptions{
Blend: drawOp.Blend,
Filter: drawOp.Filter,
Blend: drawOp.Blend,
Filter: drawOp.Filter,
ColorScaleMode: ebiten.ColorScaleModePremultipliedAlpha,
})
}