mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
Fixed colorscale mode
This commit is contained in:
parent
2eebe55b90
commit
b20692f523
@ -125,8 +125,9 @@ func Draw(dst *ebiten.Image, text string, face Face, options *DrawOptions) {
|
|||||||
dl.Add(dc)
|
dl.Add(dc)
|
||||||
}
|
}
|
||||||
dl.Flush(dst, &drawOptions{
|
dl.Flush(dst, &drawOptions{
|
||||||
Blend: drawOp.Blend,
|
Blend: drawOp.Blend,
|
||||||
Filter: drawOp.Filter,
|
Filter: drawOp.Filter,
|
||||||
|
ColorScaleMode: ebiten.ColorScaleModePremultipliedAlpha,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user