mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-11-07 18:57:18 -05:00
Merge pull request #952 from Ziemas/blendfix
Fix draweffect blending selection
This commit is contained in:
commit
0ef943a673
@ -146,8 +146,6 @@ func (s *ebitenSurface) RenderSprite(sprite *d2ui.Sprite) {
|
||||
|
||||
s.handleStateEffect(opts)
|
||||
|
||||
opts.CompositeMode = ebiten.CompositeModeSourceOver
|
||||
|
||||
sprite.Render(s)
|
||||
}
|
||||
|
||||
@ -161,8 +159,6 @@ func (s *ebitenSurface) Render(sfc d2interface.Surface) {
|
||||
|
||||
s.handleStateEffect(opts)
|
||||
|
||||
opts.CompositeMode = ebiten.CompositeModeSourceOver
|
||||
|
||||
s.image.DrawImage(sfc.(*ebitenSurface).image, opts)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user