mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
internal/graphicsdriver/opengl: bug fix: lastBlend was not updated correctly on GLES
This commit is contained in:
parent
15ae074c43
commit
d2a99afa44
@ -108,6 +108,7 @@ func (c *context) blend(blend graphicsdriver.Blend) {
|
||||
if c.lastBlend == blend {
|
||||
return
|
||||
}
|
||||
c.lastBlend = blend
|
||||
c.ctx.BlendFuncSeparate(
|
||||
uint32(convertBlendFactor(blend.BlendFactorSourceRGB)),
|
||||
uint32(convertBlendFactor(blend.BlendFactorDestinationRGB)),
|
||||
|
Loading…
Reference in New Issue
Block a user