mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +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
|
// set blend state
|
||||||
BlendState blend = slot.Data.BlendMode == BlendMode.Additive ? BlendState.Additive : defaultBlendState;
|
BlendState blend = slot.Data.BlendMode == BlendMode.Additive ? BlendState.Additive : defaultBlendState;
|
||||||
if (device.BlendState != blend) {
|
if (device.BlendState != blend) {
|
||||||
//End();
|
End();
|
||||||
//device.BlendState = blend;
|
device.BlendState = blend;
|
||||||
}
|
}
|
||||||
|
|
||||||
// calculate color
|
// calculate color
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user