1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-11-09 03:37:17 -05:00

Merge pull request #952 from Ziemas/blendfix

Fix draweffect blending selection
This commit is contained in:
Tim Sarbin 2020-11-25 20:43:04 -05:00 committed by GitHub
commit 0ef943a673
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -146,8 +146,6 @@ func (s *ebitenSurface) RenderSprite(sprite *d2ui.Sprite) {
s.handleStateEffect(opts) s.handleStateEffect(opts)
opts.CompositeMode = ebiten.CompositeModeSourceOver
sprite.Render(s) sprite.Render(s)
} }
@ -161,8 +159,6 @@ func (s *ebitenSurface) Render(sfc d2interface.Surface) {
s.handleStateEffect(opts) s.handleStateEffect(opts)
opts.CompositeMode = ebiten.CompositeModeSourceOver
s.image.DrawImage(sfc.(*ebitenSurface).image, opts) s.image.DrawImage(sfc.(*ebitenSurface).image, opts)
} }