use glhf.BlendFunc

This commit is contained in:
faiface 2017-04-09 23:16:34 +02:00
parent 9df8a3761b
commit 134fe2bf7b
1 changed files with 1 additions and 0 deletions

View File

@ -188,6 +188,7 @@ func (ct *canvasTriangles) draw(tex *glhf.Texture, bounds pixel.Rect) {
mainthread.CallNonBlock(func() {
ct.dst.setGlhfBounds()
glhf.BlendFunc(glhf.One, glhf.OneMinusSrcAlpha)
frame := ct.dst.gf.Frame()
shader := ct.dst.shader