use glhf.BlendFunc
This commit is contained in:
parent
9df8a3761b
commit
134fe2bf7b
|
@ -188,6 +188,7 @@ func (ct *canvasTriangles) draw(tex *glhf.Texture, bounds pixel.Rect) {
|
||||||
|
|
||||||
mainthread.CallNonBlock(func() {
|
mainthread.CallNonBlock(func() {
|
||||||
ct.dst.setGlhfBounds()
|
ct.dst.setGlhfBounds()
|
||||||
|
glhf.BlendFunc(glhf.One, glhf.OneMinusSrcAlpha)
|
||||||
|
|
||||||
frame := ct.dst.gf.Frame()
|
frame := ct.dst.gf.Frame()
|
||||||
shader := ct.dst.shader
|
shader := ct.dst.shader
|
||||||
|
|
Loading…
Reference in New Issue