mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 15:24:55 +08:00
[xna][monogame] Fixed slot BlendMode.Additive having no effect. Closing #2215.
This commit is contained in:
parent
b693802311
commit
9c411cd776
@ -153,8 +153,8 @@ namespace Spine {
|
||||
// set blend state
|
||||
BlendState blend = slot.Data.BlendMode == BlendMode.Additive ? BlendState.Additive : defaultBlendState;
|
||||
if (device.BlendState != blend) {
|
||||
//End();
|
||||
//device.BlendState = blend;
|
||||
End();
|
||||
device.BlendState = blend;
|
||||
}
|
||||
|
||||
// calculate color
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user