[xna][monogame] Fixed slot BlendMode.Additive having no effect. Closing #2215.

This commit is contained in:
Harald Csaszar 2022-12-16 12:58:14 +01:00
parent b693802311
commit 9c411cd776

View File

@ -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